Skip to content

Commit

Permalink
remove strict return
Browse files Browse the repository at this point in the history
  • Loading branch information
nadar committed Oct 6, 2023
1 parent ad8f766 commit 5e4edda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/admin/apis/RedirectController.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class RedirectController extends \luya\admin\ngrest\base\Api
* @param string $path The path to check inside the redirect list.
* @since 1.0.9
*/
public function actionCatch($path): array|false
public function actionCatch($path)
{
$compositePath = Yii::$app->composition->prependTo($path);
foreach (Redirect::find()->all() as $redirect) {
Expand Down

0 comments on commit 5e4edda

Please sign in to comment.