This PR is a split of the original PR #45 (the original PR shall stay open until completely done).
This PR moves the usage of StreamFactory::create from Adapter::open to Node\File::open, which makes the adapters compatible to the adapter interface. I have also gone ahead and replaced boolean with bool to make PHP code assistance tools happy (since technically boolean is seen as class).
This PR is a split of the original PR #45 (the original PR shall stay open until completely done).
This PR moves the usage of
StreamFactory::create
fromAdapter::open
toNode\File::open
, which makes the adapters compatible to the adapter interface. I have also gone ahead and replacedboolean
withbool
to make PHP code assistance tools happy (since technicallyboolean
is seen as class).