@@ -57,19 +57,19 @@ |
||
| 57 | 57 | public function fill(array $data): Author |
| 58 | 58 | { |
| 59 | 59 | if (isset($data['name'])) { |
| 60 | - $this->name = (string)$data['name']; |
|
| 60 | + $this->name = (string) $data['name']; |
|
| 61 | 61 | } |
| 62 | 62 | if (isset($data['birthdate'])) { |
| 63 | - $this->birthdate = (string)$data['birthdate']; |
|
| 63 | + $this->birthdate = (string) $data['birthdate']; |
|
| 64 | 64 | } |
| 65 | 65 | if (isset($data['deathdate'])) { |
| 66 | - $this->deathdate = (string)$data['deathdate']; |
|
| 66 | + $this->deathdate = (string) $data['deathdate']; |
|
| 67 | 67 | } |
| 68 | 68 | if (isset($data['biography'])) { |
| 69 | - $this->biography = (string)$data['biography']; |
|
| 69 | + $this->biography = (string) $data['biography']; |
|
| 70 | 70 | } |
| 71 | 71 | if (isset($data['summary'])) { |
| 72 | - $this->summary = (string)$data['summary']; |
|
| 72 | + $this->summary = (string) $data['summary']; |
|
| 73 | 73 | } |
| 74 | 74 | return $this; |
| 75 | 75 | } |