Skip to content

Commit

Permalink
Merge pull request #8 from pxlrbt/new-main
Browse files Browse the repository at this point in the history
Laravel 10
  • Loading branch information
pxlrbt authored Jun 14, 2023
2 parents f98f561 + 8e65c2e commit 9df3068
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"require": {
"php": "^8.1",
"spatie/laravel-package-tools": "^1.13.0",
"illuminate/contracts": "^9.0"
"illuminate/contracts": "^9.0|^10.0"
},
"require-dev": {
"laravel/pint": "^1.0",
Expand Down
3 changes: 0 additions & 3 deletions src/Concerns/CanAccessPropertiesAndMethods.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ protected function extractPublicMethods()
/**
* Create a callable variable from the given method.
*
* @param \ReflectionMethod $method
* @return mixed
*/
protected function createVariableFromMethod(ReflectionMethod $method)
Expand All @@ -123,7 +122,6 @@ protected function createVariableFromMethod(ReflectionMethod $method)
/**
* Create an invokable, toStringable variable for the given component method.
*
* @param string $method
* @return \Illuminate\View\InvokableComponentVariable
*/
protected function createInvokableVariable(string $method)
Expand Down Expand Up @@ -166,7 +164,6 @@ protected function ignoredMethods()
/**
* Get a new attribute bag instance.
*
* @param array $attributes
* @return \Illuminate\View\ComponentAttributeBag
*/
protected function newAttributeBag(array $attributes = [])
Expand Down
3 changes: 0 additions & 3 deletions src/Layout/PageSize.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ enum PageSize
case A4;
case A5;

/**
* @return array
*/
public function size(): array
{
return match ($this) {
Expand Down

0 comments on commit 9df3068

Please sign in to comment.