icingaweb2-module-director/library/Director/Web/Table/ObjectsTableApiUser.php
Alexander A. Klimov ff92b0a485 For method parameters, use ?T $x = null, not T $x = null
Implicitly marking parameters as nullable is deprecated, the explicit nullable type must be used instead.
2026-04-16 09:38:24 +02:00

13 lines
315 B
PHP

<?php
namespace Icinga\Module\Director\Web\Table;
use Zend_Db_Select as ZfSelect;
class ObjectsTableApiUser extends ObjectsTable
{
protected function applyObjectTypeFilter(ZfSelect $query, ?ZfSelect $right = null)
{
return $query->where("o.object_type IN ('object', 'external_object')");
}
}