PHP 8.1 Support (#1274)

* test against php 8.1

* fix tests
This commit is contained in:
Sergiy Petrov
2021-10-31 14:55:33 +01:00
committed by GitHub
parent a091b9c94a
commit 01be015f86
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -1335,7 +1335,7 @@ class ModelsCommand extends Command
$docComment ?? '',
$matches
);
$type = $matches[1] ?? null;
$type = $matches[1] ?? '';
if (strpos($type, '|') !== false) {
$types = explode('|', $type);