We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b154eb8 commit 6bad8e6Copy full SHA for 6bad8e6
classes/Autoloader.php
@@ -317,7 +317,7 @@ public function blueprints(): array
317
return $this->registry('blueprints');
318
}
319
320
- public function classes(string $folder = null): array
+ public function classes(?string $folder = null): array
321
{
322
if ($folder) {
323
$this->options['classes']['folder'] = $folder;
@@ -432,7 +432,7 @@ public static function singleton(array $options = []): self
432
*
433
* @return void
434
*/
435
- private function load(array $classmap, string $base = null)
+ private function load(array $classmap, ?string $base = null)
436
437
// convert all classnames to lowercase
438
$classmap = array_change_key_case($classmap);
0 commit comments