| @@ -11,7 +11,7 @@ discard block | ||
| 11 | 11 | * | 
| 12 | 12 | * @return integer|null | 
| 13 | 13 | */ | 
| 14 | - public static function integerOrNull($value): ?int | |
| 14 | + public static function integerOrNull($value): ? int | |
| 15 | 15 |      { | 
| 16 | 16 | $intVal = intval($value); | 
| 17 | 17 | if (is_object($value) | 
| @@ -31,7 +31,7 @@ discard block | ||
| 31 | 31 | * | 
| 32 | 32 | * @return int | 
| 33 | 33 | */ | 
| 34 | - public static function compareNumbers($num1, $num2): ?int | |
| 34 | + public static function compareNumbers($num1, $num2): ? int | |
| 35 | 35 |      { | 
| 36 | 36 |          if ($num1 == $num2) { | 
| 37 | 37 | return 0; | 
| @@ -107,7 +107,7 @@ discard block | ||
| 107 | 107 | /** | 
| 108 | 108 |       * {@inheritdoc} | 
| 109 | 109 | */ | 
| 110 | - public function getName(): ?string | |
| 110 | + public function getName(): ? string | |
| 111 | 111 |      { | 
| 112 | 112 | return $this->name; | 
| 113 | 113 | } | 
| @@ -197,10 +197,10 @@ discard block | ||
| 197 | 197 | * @throws \Exception | 
| 198 | 198 | */ | 
| 199 | 199 | protected static function parseDirectoryPath( | 
| 200 | - ?string $pathString, | |
| 200 | + ? string $pathString, | |
| 201 | 201 | DirectoryPath $rootPath, | 
| 202 | 202 | string $separator = '/' | 
| 203 | -    ): DirectoryPath { | |
| 203 | +    ) : DirectoryPath { | |
| 204 | 204 | $lastPath = $rootPath; | 
| 205 | 205 |          if (null !== $pathString) { | 
| 206 | 206 | $parts = explode($separator, $pathString); | 
| @@ -4,7 +4,7 @@ | ||
| 4 | 4 | |
| 5 | 5 | interface Path | 
| 6 | 6 |  { | 
| 7 | - public function getName(): ?string; | |
| 7 | + public function getName(): ? string; | |
| 8 | 8 | |
| 9 | 9 | public function hasParentPath(): bool; | 
| 10 | 10 | |
| @@ -90,7 +90,7 @@ | ||
| 90 | 90 | /** | 
| 91 | 91 | * @return string | 
| 92 | 92 | */ | 
| 93 | - public function getExtension(): ?string | |
| 93 | + public function getExtension(): ? string | |
| 94 | 94 |      { | 
| 95 | 95 | return $this->extension; | 
| 96 | 96 | } | 
| @@ -24,39 +24,39 @@ | ||
| 24 | 24 | */ | 
| 25 | 25 | protected $day; | 
| 26 | 26 | |
| 27 | - public function __construct(?int $year = null, ?int $month = null, ?int $day = null) | |
| 27 | + public function __construct(? int $year = null, ? int $month = null, ? int $day = null) | |
| 28 | 28 |      { | 
| 29 | 29 | $this->year = $year; | 
| 30 | 30 | $this->month = $month; | 
| 31 | 31 | $this->day = $day; | 
| 32 | 32 | } | 
| 33 | 33 | |
| 34 | - public function getYear(): ?int | |
| 34 | + public function getYear(): ? int | |
| 35 | 35 |      { | 
| 36 | 36 | return $this->year; | 
| 37 | 37 | } | 
| 38 | 38 | |
| 39 | - public function setYear(?int $year): void | |
| 39 | + public function setYear(? int $year) : void | |
| 40 | 40 |      { | 
| 41 | 41 | $this->year = $year; | 
| 42 | 42 | } | 
| 43 | 43 | |
| 44 | - public function getMonth(): ?int | |
| 44 | + public function getMonth(): ? int | |
| 45 | 45 |      { | 
| 46 | 46 | return $this->month; | 
| 47 | 47 | } | 
| 48 | 48 | |
| 49 | - public function setMonth(?int $month): void | |
| 49 | + public function setMonth(? int $month) : void | |
| 50 | 50 |      { | 
| 51 | 51 | $this->month = $month; | 
| 52 | 52 | } | 
| 53 | 53 | |
| 54 | - public function getDay(): ?int | |
| 54 | + public function getDay(): ? int | |
| 55 | 55 |      { | 
| 56 | 56 | return $this->day; | 
| 57 | 57 | } | 
| 58 | 58 | |
| 59 | - public function setDay(?int $day): void | |
| 59 | + public function setDay(? int $day) : void | |
| 60 | 60 |      { | 
| 61 | 61 | $this->day = $day; | 
| 62 | 62 | } | 
| @@ -20,7 +20,7 @@ | ||
| 20 | 20 | /** | 
| 21 | 21 |       * {@inheritdoc} | 
| 22 | 22 | */ | 
| 23 | - public function setContainer(?ContainerInterface $container = null) | |
| 23 | + public function setContainer(? ContainerInterface $container = null) | |
| 24 | 24 |      { | 
| 25 | 25 | $this->container = $container; | 
| 26 | 26 | } |