You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Declaring the "use" statements like below work just fine:
use App\SomeFolder\MyClass as Class1;
use App\SomeFolder\SomeSubfolder\MyClass as Class2;
Declaring them this way:
use App\SomeFolder\{
MyClass as Class1,
SomeSubfolder\MyClass as Class2,
};
Throws the following exception:
In ReflectionClosure.php line 779:
[ErrorException]
Notice: Uninitialized string offset: 0
Exception trace:
Opis\Closure\ReflectionClosure->fetchItems() at /my_project/vendor/opis/closure/src/ReflectionClosure.php:680
Opis\Closure\ReflectionClosure->getConstants() at /my_project/vendor/opis/closure/src/ReflectionClosure.php:472
Opis\Closure\ReflectionClosure->getCode() at /my_project/vendor/opis/closure/src/ReflectionClosure.php:559
Opis\Closure\ReflectionClosure->isBindingRequired() at /my_project/vendor/opis/closure/src/SerializableClosure.php:129
Opis\Closure\SerializableClosure->serialize() at n/a:n/a
serialize() at /my_project/src/my-script.php:41
The text was updated successfully, but these errors were encountered:
Declaring the "use" statements like below work just fine:
Declaring them this way:
Throws the following exception:
The text was updated successfully, but these errors were encountered: