Skip to content

ActiveRow::_get() does not return a reference #410

ActiveRow::_get() does not return a reference

ActiveRow::_get() does not return a reference #410

Triggered via push March 30, 2025 17:04
Status Success
Total duration 24s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

10 errors
PHPStan: src/Database/Drivers/Engines/MySQLEngine.php#L110
Method Nette\Database\Drivers\Engines\MySQLEngine::getTables() should return array<int, array{name: string, fullName: string|null, view: bool, comment: string|null}> but returns array<int<0, max>, array{name: mixed, view: bool, comment: mixed}>.
PHPStan: src/Database/Drivers/Engines/MySQLEngine.php#L106
Offset 'TABLE_COMMENT' does not exist on non-empty-array<int, mixed>.
PHPStan: src/Database/Drivers/Engines/MySQLEngine.php#L105
Offset 'TABLE_TYPE' does not exist on non-empty-array<int, mixed>.
PHPStan: src/Database/Drivers/Engines/MySQLEngine.php#L104
Offset 'TABLE_NAME' does not exist on non-empty-array<int, mixed>.
PHPStan: src/Database/Drivers/Engines/MSSQLEngine.php#L110
Method Nette\Database\Drivers\Engines\MSSQLEngine::getTables() should return array<int, array{name: string, fullName: string|null, view: bool, comment: string|null}> but returns array<int<0, max>, array{name: non-falsy-string, view: bool, comment: mixed}>.
PHPStan: src/Database/DriverException.php#L20
Unsafe usage of new static().
PHPStan: src/Bridges/DatabaseTracy/ConnectionPanel.php#L151
Variable $connection might not be defined.
PHPStan: src/Bridges/DatabaseTracy/ConnectionPanel.php#L151
Anonymous function has an unused use $events.
PHPStan: src/Bridges/DatabaseTracy/ConnectionPanel.php#L151
Anonymous function has an unused use $connection.
PHPStan: src/Bridges/DatabaseDI/DatabaseExtension.php#L70
Call to an undefined method Nette\DI\Definitions\Definition::addSetup().