Skip to content

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

ActiveRow::_get() does not return a reference

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

Triggered via push June 5, 2025 22:55
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 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#L106
Offset 'TABLE_COMMENT' does not exist on non-empty-list.
PHPStan: src/Database/Drivers/Engines/MySQLEngine.php#L105
Offset 'TABLE_TYPE' does not exist on non-empty-list.
PHPStan: src/Database/Drivers/Engines/MySQLEngine.php#L104
Offset 'TABLE_NAME' does not exist on non-empty-list.
PHPStan: src/Database/Drivers/Engines/MSSQLEngine.php#L110
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#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().