Lines Matching refs:null
49 * @var null|int
59 * @var null|string
64 * @var null|Dn
69 * @var null|string
79 * @var null|string
88 public function __construct(?string $host = null)
94 * @param null|string|Dn $dn
99 $this->dn = $dn === null ? $dn : new Dn($dn);
125 * @param int|null $port
136 * @return int|null
144 * @return null|string
152 * @param null|string $scope
158 $scope = $scope === null ? $scope : strtolower($scope);
159 if ($scope !== null && !in_array($scope, [self::SCOPE_BASE, self::SCOPE_ONE, self::SCOPE_SUB], true)) {
174 * @return null|string
182 * @param null|string $filter
263 if ($this->host !== null && $this->port !== null) {
290 $url = new LdapUrl($pieces['host'] ?? null);
292 $url->setPort($pieces['port'] ?? null);
293 $url->setDn((isset($pieces['path']) && $pieces['path'] !== '/') ? self::decode(ltrim($pieces['path'], '/')) : null);
298 $url->setScope(isset($query[1]) && $query[1] !== '' ? $query[1] : null);
299 $url->setFilter(isset($query[2]) && $query[2] !== '' ? self::decode($query[2]) : null);
328 $query = null;
329 $path = null;
338 $query = isset($parts[1]) ? $parts[1] : null;
374 if ($this->scope !== null) {
377 if ($this->filter !== null) {