| @@ -1,5 +1,5 @@ discard block | ||
| 1 | 1 | <?php | 
| 2 | -declare(strict_types=1); | |
| 2 | +declare(strict_types = 1); | |
| 3 | 3 | |
| 4 | 4 | namespace GroundSix\Locker; | 
| 5 | 5 | |
| @@ -22,7 +22,7 @@ discard block | ||
| 22 | 22 | * be locked for | 
| 23 | 23 | * @param null|string $lockedBy A unique identifier to show who locked the page. | 
| 24 | 24 | */ | 
| 25 | - public function __construct(string $url, ?\DateTimeInterface $lockedUntil = null, ?string $lockedBy = null) | |
| 25 | + public function __construct(string $url, ? \DateTimeInterface $lockedUntil = null, ? string $lockedBy = null) | |
| 26 | 26 |      { | 
| 27 | 27 | $this->url = $url; | 
| 28 | 28 | |
| @@ -54,7 +54,7 @@ discard block | ||
| 54 | 54 |          $lockedUntil = $this->lockedUntil->format('U'); | 
| 55 | 55 |          $now = (new \DateTime('now', new \DateTimeZone('UTC')))->format('U'); | 
| 56 | 56 | |
| 57 | - return $lockedUntil >$now; | |
| 57 | + return $lockedUntil > $now; | |
| 58 | 58 | } | 
| 59 | 59 | |
| 60 | 60 | /** | 
| @@ -72,7 +72,7 @@ discard block | ||
| 72 | 72 | * | 
| 73 | 73 | * @return \DateTimeImmutable|null | 
| 74 | 74 | */ | 
| 75 | - public function lockedUntil(): ?\DateTimeImmutable | |
| 75 | + public function lockedUntil(): ? \DateTimeImmutable | |
| 76 | 76 |      { | 
| 77 | 77 | return $this->lockedUntil; | 
| 78 | 78 | } | 
| @@ -82,7 +82,7 @@ discard block | ||
| 82 | 82 | * | 
| 83 | 83 | * @return null|string | 
| 84 | 84 | */ | 
| 85 | - public function lockedBy(): ?string | |
| 85 | + public function lockedBy(): ? string | |
| 86 | 86 |      { | 
| 87 | 87 | return $this->lockedBy; | 
| 88 | 88 | } |