Closed mortenscheel closed 3 years ago
I had a class like this:
<?php /** @todo move to separate namespace */ namespace App; class SomeClass { //... }
Which made loadModels() interpret the FQN as */\SomeClass because it just captures whatever comes after the first occurence of namespace.
loadModels()
*/\SomeClass
namespace
This change ignores occurences of namespace that are not at the beginning of the line.
Thanks!
I had a class like this:
Which made
loadModels()
interpret the FQN as*/\SomeClass
because it just captures whatever comes after the first occurence ofnamespace
.This change ignores occurences of
namespace
that are not at the beginning of the line.