Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into psalm-on-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
alies-dev committed Jun 26, 2023
2 parents 996cce4 + be93ab1 commit 3dd384d
Show file tree
Hide file tree
Showing 10 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
],
"require": {
"php": "^7.3|^8.0",
"laravel/framework": "^8.0|^9.0",
"laravel/framework": "^8.0|^9.0|^10.0",
"laravel/nova": "^4.0",
"nova-kit/nova-packages-tool": "^1.3.1"
},
Expand Down
2 changes: 1 addition & 1 deletion src/Commands/CreateCast.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ protected function buildClass()
], [
$this->classname,
],
$this->files->get(__DIR__.'/../Stubs/Cast.php')
$this->files->get(__DIR__.'/../Stubs/Cast.stub')
);
}
}
2 changes: 1 addition & 1 deletion src/Commands/CreateLayout.php
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ protected function buildClass()
$this->classname,
$this->name,
],
$this->files->get(__DIR__.'/../Stubs/Layout.php')
$this->files->get(__DIR__.'/../Stubs/Layout.stub')
);
}
}
2 changes: 1 addition & 1 deletion src/Commands/CreatePreset.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ protected function buildClass()
return str_replace(
':classname',
$this->classname,
$this->files->get(__DIR__.'/../Stubs/Preset.php')
$this->files->get(__DIR__.'/../Stubs/Preset.stub')
);
}
}
2 changes: 1 addition & 1 deletion src/Commands/CreateResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ protected function buildClass()
return str_replace(
':classname',
$this->classname,
$this->files->get(__DIR__.'/../Stubs/Resolver.php')
$this->files->get(__DIR__.'/../Stubs/Resolver.stub')
);
}
}
2 changes: 1 addition & 1 deletion src/Concerns/HasFlexible.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ protected function getMappedLayout($item, array $layoutMapping)
if (is_array($item)) {
$name = $item['layout'] ?? null;
$key = $item['key'] ?? null;
$attributes = (array) $item['attributes'] ?? [];
$attributes = (array) ($item['attributes'] ?? []);
} elseif (is_a($item, \stdClass::class)) {
$name = $item->layout ?? null;
$key = $item->key ?? null;
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 3dd384d

Please sign in to comment.