@@ -45,9 +45,9 @@ discard block |
||
| 45 | 45 | * @param string $name |
| 46 | 46 | * @return Author|string |
| 47 | 47 | */ |
| 48 | - public function name(string $name = null) : Author|string |
|
| 48 | + public function name(string $name = null) : Author | string |
|
| 49 | 49 | { |
| 50 | - if (! $name) { |
|
| 50 | + if (!$name) { |
|
| 51 | 51 | return $this->getName(); |
| 52 | 52 | } |
| 53 | 53 | |
@@ -62,9 +62,9 @@ discard block |
||
| 62 | 62 | * @param string $email |
| 63 | 63 | * @return Author|string |
| 64 | 64 | */ |
| 65 | - public function email(string $email = null) : Author|string |
|
| 65 | + public function email(string $email = null) : Author | string |
|
| 66 | 66 | { |
| 67 | - if (! $email) { |
|
| 67 | + if (!$email) { |
|
| 68 | 68 | return $this->getEmail(); |
| 69 | 69 | } |
| 70 | 70 | |
@@ -92,7 +92,7 @@ discard block |
||
| 92 | 92 | */ |
| 93 | 93 | public function set(string $author) : Author |
| 94 | 94 | { |
| 95 | - if (! $this->valid()->author($author)) { |
|
| 95 | + if (!$this->valid()->author($author)) { |
|
| 96 | 96 | throw new InvalidAuthorException($author); |
| 97 | 97 | } |
| 98 | 98 | |