@@ -154,9 +154,9 @@ discard block |
||
154 | 154 | { |
155 | 155 | if ($this->hasDynamicProperty(static::FIELD_ID) === true) { |
156 | 156 | $this |
157 | - ->setIdentifier((int)$this->{static::FIELD_ID}) |
|
157 | + ->setIdentifier((int) $this->{static::FIELD_ID}) |
|
158 | 158 | ->setClientIdentifier($this->{static::FIELD_ID_CLIENT}) |
159 | - ->setUserIdentifier((int)$this->{static::FIELD_ID_USER}) |
|
159 | + ->setUserIdentifier((int) $this->{static::FIELD_ID_USER}) |
|
160 | 160 | ->setRedirectUriString($this->{static::FIELD_REDIRECT_URI}) |
161 | 161 | ->setCode($this->{static::FIELD_CODE}) |
162 | 162 | ->setType($this->{static::FIELD_TYPE}) |
@@ -171,7 +171,7 @@ discard block |
||
171 | 171 | /** |
172 | 172 | * @inheritdoc |
173 | 173 | */ |
174 | - public function getIdentifier(): ?int |
|
174 | + public function getIdentifier(): ? int |
|
175 | 175 | { |
176 | 176 | return $this->identifierField; |
177 | 177 | } |
@@ -259,7 +259,7 @@ discard block |
||
259 | 259 | /** |
260 | 260 | * @inheritdoc |
261 | 261 | */ |
262 | - public function getRedirectUriString(): ?string |
|
262 | + public function getRedirectUriString(): ? string |
|
263 | 263 | { |
264 | 264 | return $this->redirectUriString; |
265 | 265 | } |
@@ -267,7 +267,7 @@ discard block |
||
267 | 267 | /** |
268 | 268 | * @inheritdoc |
269 | 269 | */ |
270 | - public function setRedirectUriString(?string $uri): TokenInterface |
|
270 | + public function setRedirectUriString(? string $uri) : TokenInterface |
|
271 | 271 | { |
272 | 272 | $this->redirectUriString = $uri; |
273 | 273 | |
@@ -341,7 +341,7 @@ discard block |
||
341 | 341 | /** |
342 | 342 | * @inheritdoc |
343 | 343 | */ |
344 | - public function setCode(?string $code): TokenInterface |
|
344 | + public function setCode(? string $code) : TokenInterface |
|
345 | 345 | { |
346 | 346 | $this->codeField = $code; |
347 | 347 | |
@@ -351,7 +351,7 @@ discard block |
||
351 | 351 | /** |
352 | 352 | * @inheritdoc |
353 | 353 | */ |
354 | - public function getValue(): ?string |
|
354 | + public function getValue(): ? string |
|
355 | 355 | { |
356 | 356 | return $this->valueField; |
357 | 357 | } |
@@ -359,7 +359,7 @@ discard block |
||
359 | 359 | /** |
360 | 360 | * @inheritdoc |
361 | 361 | */ |
362 | - public function setValue(?string $value): TokenInterface |
|
362 | + public function setValue(? string $value) : TokenInterface |
|
363 | 363 | { |
364 | 364 | $this->valueField = $value; |
365 | 365 | |
@@ -369,7 +369,7 @@ discard block |
||
369 | 369 | /** |
370 | 370 | * @inheritdoc |
371 | 371 | */ |
372 | - public function getType(): ?string |
|
372 | + public function getType(): ? string |
|
373 | 373 | { |
374 | 374 | return $this->typeField; |
375 | 375 | } |
@@ -377,7 +377,7 @@ discard block |
||
377 | 377 | /** |
378 | 378 | * @inheritdoc |
379 | 379 | */ |
380 | - public function setType(?string $type): TokenInterface |
|
380 | + public function setType(? string $type) : TokenInterface |
|
381 | 381 | { |
382 | 382 | $this->typeField = $type; |
383 | 383 | |
@@ -387,7 +387,7 @@ discard block |
||
387 | 387 | /** |
388 | 388 | * @inheritdoc |
389 | 389 | */ |
390 | - public function getRefreshValue(): ?string |
|
390 | + public function getRefreshValue(): ? string |
|
391 | 391 | { |
392 | 392 | return $this->refreshValueField; |
393 | 393 | } |
@@ -395,7 +395,7 @@ discard block |
||
395 | 395 | /** |
396 | 396 | * @inheritdoc |
397 | 397 | */ |
398 | - public function setRefreshValue(?string $refreshValue): TokenInterface |
|
398 | + public function setRefreshValue(? string $refreshValue) : TokenInterface |
|
399 | 399 | { |
400 | 400 | $this->refreshValueField = $refreshValue; |
401 | 401 | |
@@ -405,7 +405,7 @@ discard block |
||
405 | 405 | /** |
406 | 406 | * @inheritdoc |
407 | 407 | */ |
408 | - public function getCodeCreatedAt(): ?DateTimeInterface |
|
408 | + public function getCodeCreatedAt(): ? DateTimeInterface |
|
409 | 409 | { |
410 | 410 | if ($this->codeCreatedAtField === null && ($codeCreatedAt = $this->{static::FIELD_CODE_CREATED_AT}) !== null) { |
411 | 411 | $this->codeCreatedAtField = $this->parseDateTime($codeCreatedAt); |
@@ -427,7 +427,7 @@ discard block |
||
427 | 427 | /** |
428 | 428 | * @inheritdoc |
429 | 429 | */ |
430 | - public function getValueCreatedAt(): ?DateTimeInterface |
|
430 | + public function getValueCreatedAt(): ? DateTimeInterface |
|
431 | 431 | { |
432 | 432 | if ($this->valueCreatedAtField === null && |
433 | 433 | ($tokenCreatedAt = $this->{static::FIELD_VALUE_CREATED_AT}) !== null |
@@ -451,7 +451,7 @@ discard block |
||
451 | 451 | /** |
452 | 452 | * @inheritdoc |
453 | 453 | */ |
454 | - public function getRefreshCreatedAt(): ?DateTimeInterface |
|
454 | + public function getRefreshCreatedAt(): ? DateTimeInterface |
|
455 | 455 | { |
456 | 456 | if ($this->refreshCreatedAtField === null && |
457 | 457 | ($tokenCreatedAt = $this->{static::FIELD_VALUE_CREATED_AT}) !== null |