Skip to content

Commit

Permalink
Revert "5.6.1"
Browse files Browse the repository at this point in the history
  • Loading branch information
niden authored Feb 8, 2024
1 parent 59be72b commit 9d25a71
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
php-versions: ["7.4", "8.0", "8.1", "8.2"]

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v3

- name: Setup PHP, with composer and extensions
uses: shivammathur/setup-php@v2
Expand Down
5 changes: 2 additions & 3 deletions src/Cache/AbstractCache.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ protected function doDeleteMultiple($keys): bool
* @throws InvalidArgumentException MUST be thrown if the $key string is
* not a legal value.
*/
protected function doGet(string $key, $defaultValue = null): mixed
protected function doGet(string $key, $defaultValue = null)
{
}

Expand All @@ -123,9 +123,8 @@ protected function doGet(string $key, $defaultValue = null): mixed
*
* @param mixed $keys
* @param mixed $defaultValue
* @return array
*/
protected function doGetMultiple($keys, $defaultValue = null): array
protected function doGetMultiple($keys, $defaultValue = null)
{
}

Expand Down
6 changes: 2 additions & 4 deletions src/Cli/Router.php
Original file line number Diff line number Diff line change
Expand Up @@ -227,19 +227,17 @@ public function handle($arguments = null)
* Sets the default action name
*
* @param string $actionName
* @return Router
*/
public function setDefaultAction(string $actionName): Router
public function setDefaultAction(string $actionName)
{
}

/**
* Sets the name of the default module
*
* @param string $moduleName
* @return Router
*/
public function setDefaultModule(string $moduleName): Router
public function setDefaultModule(string $moduleName)
{
}

Expand Down
4 changes: 2 additions & 2 deletions src/Filter/Validation.php
Original file line number Diff line number Diff line change
Expand Up @@ -265,9 +265,9 @@ public function setValidators(array $validators): Validation
*
* @param array|object $data
* @param object $entity
* @return Messages|false
* @return Messages
*/
public function validate($data = null, $entity = null): Messages|bool
public function validate($data = null, $entity = null): Messages
{
}

Expand Down
4 changes: 2 additions & 2 deletions src/Filter/Validation/ValidationInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ public function setLabels(array $labels): void;
*
* @param array|object $data
* @param object $entity
* @return Messages|false
* @return Messages
*/
public function validate($data = null, $entity = null): Messages|bool;
public function validate($data = null, $entity = null): Messages;
}

0 comments on commit 9d25a71

Please sign in to comment.