Refactor NavLink
class to use constructor property promotion and add immutable methods.
#1039
Annotations
8 errors and 1 warning
InvalidArgument:
src/Tabs.php#L296
src/Tabs.php:296:59: InvalidArgument: Argument 1 of Yiisoft\Yii\Bootstrap5\Nav::items expects Yiisoft\Yii\Bootstrap5\Dropdown|Yiisoft\Yii\Bootstrap5\NavLink, but array<array-key, mixed> provided (see https://psalm.dev/004)
|
psalm / PHP 8.2-ubuntu-latest
Process completed with exit code 2.
|
psalm / PHP 8.1-ubuntu-latest
The job was canceled because "ubuntu-latest_8_2" failed.
|
InvalidArgument:
src/Tabs.php#L296
src/Tabs.php:296:59: InvalidArgument: Argument 1 of Yiisoft\Yii\Bootstrap5\Nav::items expects Yiisoft\Yii\Bootstrap5\Dropdown|Yiisoft\Yii\Bootstrap5\NavLink, but array<array-key, mixed> provided (see https://psalm.dev/004)
|
psalm / PHP 8.1-ubuntu-latest
The operation was canceled.
|
psalm / PHP 8.3-ubuntu-latest
The job was canceled because "ubuntu-latest_8_2" failed.
|
InvalidArgument:
src/Tabs.php#L296
src/Tabs.php:296:59: InvalidArgument: Argument 1 of Yiisoft\Yii\Bootstrap5\Nav::items expects Yiisoft\Yii\Bootstrap5\Dropdown|Yiisoft\Yii\Bootstrap5\NavLink, but array<array-key, mixed> provided (see https://psalm.dev/004)
|
psalm / PHP 8.3-ubuntu-latest
The operation was canceled.
|
psalm / PHP 8.2-ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|