Skip to content

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

ActiveRow::_get() does not return a reference

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

Triggered via push December 23, 2025 22:20
Status Success
Total duration 25s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

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