@@ -35,36 +35,36 @@ |
||
| 35 | 35 | private $error; |
| 36 | 36 | |
| 37 | 37 | |
| 38 | - public function getToken(): ?string |
|
| 38 | + public function getToken(): ? string |
|
| 39 | 39 | { |
| 40 | 40 | return $this->token; |
| 41 | 41 | } |
| 42 | 42 | |
| 43 | - public function setToken(?string $token): self |
|
| 43 | + public function setToken(? string $token) : self |
|
| 44 | 44 | { |
| 45 | 45 | $this->token = $token; |
| 46 | 46 | |
| 47 | 47 | return $this; |
| 48 | 48 | } |
| 49 | 49 | |
| 50 | - public function getCsRfToken(): ?string |
|
| 50 | + public function getCsRfToken(): ? string |
|
| 51 | 51 | { |
| 52 | 52 | return $this->csRfToken; |
| 53 | 53 | } |
| 54 | 54 | |
| 55 | - public function setCsRfToken(?string $csRfToken): self |
|
| 55 | + public function setCsRfToken(? string $csRfToken) : self |
|
| 56 | 56 | { |
| 57 | 57 | $this->csRfToken = $csRfToken; |
| 58 | 58 | |
| 59 | 59 | return $this; |
| 60 | 60 | } |
| 61 | 61 | |
| 62 | - public function getError(): ?string |
|
| 62 | + public function getError(): ? string |
|
| 63 | 63 | { |
| 64 | 64 | return $this->error; |
| 65 | 65 | } |
| 66 | 66 | |
| 67 | - public function setError(?string $error): self |
|
| 67 | + public function setError(? string $error) : self |
|
| 68 | 68 | { |
| 69 | 69 | $this->error = $error; |
| 70 | 70 | |
@@ -22,7 +22,7 @@ discard block |
||
| 22 | 22 | /** |
| 23 | 23 | * @return MetaPost[] |
| 24 | 24 | */ |
| 25 | - public function getPosts(): ?array |
|
| 25 | + public function getPosts(): ? array |
|
| 26 | 26 | { |
| 27 | 27 | return $this->posts; |
| 28 | 28 | } |
@@ -33,7 +33,7 @@ discard block |
||
| 33 | 33 | * @param MetaPost[] $posts |
| 34 | 34 | * @return PostsPage |
| 35 | 35 | */ |
| 36 | - public function setPosts(?array $posts): self |
|
| 36 | + public function setPosts(? array $posts) : self |
|
| 37 | 37 | { |
| 38 | 38 | $this->posts = $posts; |
| 39 | 39 | |
@@ -76,12 +76,12 @@ discard block |
||
| 76 | 76 | private $private; |
| 77 | 77 | |
| 78 | 78 | |
| 79 | - public function getId(): ?string |
|
| 79 | + public function getId(): ? string |
|
| 80 | 80 | { |
| 81 | 81 | return $this->id; |
| 82 | 82 | } |
| 83 | 83 | |
| 84 | - public function setId(?string $id): self |
|
| 84 | + public function setId(? string $id) : self |
|
| 85 | 85 | { |
| 86 | 86 | $this->id = $id; |
| 87 | 87 | |
@@ -91,12 +91,12 @@ discard block |
||
| 91 | 91 | /** |
| 92 | 92 | * @return string[] |
| 93 | 93 | */ |
| 94 | - public function getTags(): ?array |
|
| 94 | + public function getTags(): ? array |
|
| 95 | 95 | { |
| 96 | 96 | return $this->tags; |
| 97 | 97 | } |
| 98 | 98 | |
| 99 | - public function setTags(?array $tags): self |
|
| 99 | + public function setTags(? array $tags) : self |
|
| 100 | 100 | { |
| 101 | 101 | $this->tags = $tags; |
| 102 | 102 | return $this; |
@@ -105,7 +105,7 @@ discard block |
||
| 105 | 105 | /** |
| 106 | 106 | * @return string[] |
| 107 | 107 | */ |
| 108 | - public function getFiles(): ?array |
|
| 108 | + public function getFiles(): ? array |
|
| 109 | 109 | { |
| 110 | 110 | return $this->files; |
| 111 | 111 | } |
@@ -115,71 +115,71 @@ discard block |
||
| 115 | 115 | * |
| 116 | 116 | * @return Post |
| 117 | 117 | */ |
| 118 | - public function setFiles(?array $files): self |
|
| 118 | + public function setFiles(? array $files) : self |
|
| 119 | 119 | { |
| 120 | 120 | $this->files = $files; |
| 121 | 121 | |
| 122 | 122 | return $this; |
| 123 | 123 | } |
| 124 | 124 | |
| 125 | - public function getAuthor(): ?User |
|
| 125 | + public function getAuthor(): ? User |
|
| 126 | 126 | { |
| 127 | 127 | return $this->author; |
| 128 | 128 | } |
| 129 | 129 | |
| 130 | - public function setAuthor(?User $author): self |
|
| 130 | + public function setAuthor(? User $author) : self |
|
| 131 | 131 | { |
| 132 | 132 | $this->author = $author; |
| 133 | 133 | return $this; |
| 134 | 134 | } |
| 135 | 135 | |
| 136 | - public function getText(): ?string |
|
| 136 | + public function getText(): ? string |
|
| 137 | 137 | { |
| 138 | 138 | return $this->text; |
| 139 | 139 | } |
| 140 | 140 | |
| 141 | - public function setText(?string $text): self |
|
| 141 | + public function setText(? string $text) : self |
|
| 142 | 142 | { |
| 143 | 143 | $this->text = $text; |
| 144 | 144 | |
| 145 | 145 | return $this; |
| 146 | 146 | } |
| 147 | 147 | |
| 148 | - public function getCreated(): ?string |
|
| 148 | + public function getCreated(): ? string |
|
| 149 | 149 | { |
| 150 | 150 | return $this->created; |
| 151 | 151 | } |
| 152 | 152 | |
| 153 | - public function setCreated(?string $created): self |
|
| 153 | + public function setCreated(? string $created) : self |
|
| 154 | 154 | { |
| 155 | 155 | $this->created = $created; |
| 156 | 156 | |
| 157 | 157 | return $this; |
| 158 | 158 | } |
| 159 | 159 | |
| 160 | - public function getType(): ?string |
|
| 160 | + public function getType(): ? string |
|
| 161 | 161 | { |
| 162 | 162 | return $this->type; |
| 163 | 163 | } |
| 164 | 164 | |
| 165 | - public function setType(?string $type): self |
|
| 165 | + public function setType(? string $type) : self |
|
| 166 | 166 | { |
| 167 | 167 | $this->type = $type; |
| 168 | 168 | |
| 169 | 169 | return $this; |
| 170 | 170 | } |
| 171 | 171 | |
| 172 | - public function getPrivate(): ?bool |
|
| 172 | + public function getPrivate(): ? bool |
|
| 173 | 173 | { |
| 174 | 174 | return $this->private; |
| 175 | 175 | } |
| 176 | 176 | |
| 177 | - public function isPrivate(): ?bool |
|
| 177 | + public function isPrivate(): ? bool |
|
| 178 | 178 | { |
| 179 | 179 | return $this->private; |
| 180 | 180 | } |
| 181 | 181 | |
| 182 | - public function setPrivate(?bool $private): self |
|
| 182 | + public function setPrivate(? bool $private) : self |
|
| 183 | 183 | { |
| 184 | 184 | $this->private = $private; |
| 185 | 185 | return $this; |
@@ -35,34 +35,34 @@ |
||
| 35 | 35 | private $name; |
| 36 | 36 | |
| 37 | 37 | |
| 38 | - public function getId(): ?string |
|
| 38 | + public function getId(): ? string |
|
| 39 | 39 | { |
| 40 | 40 | return $this->id; |
| 41 | 41 | } |
| 42 | 42 | |
| 43 | - public function setId(?string $id): self |
|
| 43 | + public function setId(? string $id) : self |
|
| 44 | 44 | { |
| 45 | 45 | $this->id = $id; |
| 46 | 46 | return $this; |
| 47 | 47 | } |
| 48 | 48 | |
| 49 | - public function getLogin(): ?string |
|
| 49 | + public function getLogin(): ? string |
|
| 50 | 50 | { |
| 51 | 51 | return $this->login; |
| 52 | 52 | } |
| 53 | 53 | |
| 54 | - public function setLogin(?string $login): self |
|
| 54 | + public function setLogin(? string $login) : self |
|
| 55 | 55 | { |
| 56 | 56 | $this->login = $login; |
| 57 | 57 | return $this; |
| 58 | 58 | } |
| 59 | 59 | |
| 60 | - public function getName(): ?string |
|
| 60 | + public function getName(): ? string |
|
| 61 | 61 | { |
| 62 | 62 | return $this->name; |
| 63 | 63 | } |
| 64 | 64 | |
| 65 | - public function setName(?string $name): self |
|
| 65 | + public function setName(? string $name) : self |
|
| 66 | 66 | { |
| 67 | 67 | $this->name = $name; |
| 68 | 68 | return $this; |
@@ -23,7 +23,7 @@ |
||
| 23 | 23 | /** |
| 24 | 24 | * @return Post |
| 25 | 25 | */ |
| 26 | - public function getPost(): ?Post |
|
| 26 | + public function getPost(): ? Post |
|
| 27 | 27 | { |
| 28 | 28 | return $this->post; |
| 29 | 29 | } |
@@ -153,7 +153,7 @@ |
||
| 153 | 153 | return $this->createdAt; |
| 154 | 154 | } |
| 155 | 155 | |
| 156 | - public function getUpdatedAt(): ?\DateTime |
|
| 156 | + public function getUpdatedAt(): ? \DateTime |
|
| 157 | 157 | { |
| 158 | 158 | return $this->updatedAt; |
| 159 | 159 | } |
@@ -212,7 +212,7 @@ |
||
| 212 | 212 | /** |
| 213 | 213 | * @return Comment |
| 214 | 214 | */ |
| 215 | - public function getParent(): ?Comment |
|
| 215 | + public function getParent(): ? Comment |
|
| 216 | 216 | { |
| 217 | 217 | return $this->parent; |
| 218 | 218 | } |
@@ -110,14 +110,14 @@ discard block |
||
| 110 | 110 | return $this->login; |
| 111 | 111 | } |
| 112 | 112 | |
| 113 | - public function setName(?string $name): self |
|
| 113 | + public function setName(? string $name) : self |
|
| 114 | 114 | { |
| 115 | 115 | $this->name = $name; |
| 116 | 116 | |
| 117 | 117 | return $this; |
| 118 | 118 | } |
| 119 | 119 | |
| 120 | - public function getName(): ?string |
|
| 120 | + public function getName(): ? string |
|
| 121 | 121 | { |
| 122 | 122 | return $this->name; |
| 123 | 123 | } |
@@ -177,7 +177,7 @@ discard block |
||
| 177 | 177 | return $this; |
| 178 | 178 | } |
| 179 | 179 | |
| 180 | - public function getUpdatedAt(): ?\DateTime |
|
| 180 | + public function getUpdatedAt(): ? \DateTime |
|
| 181 | 181 | { |
| 182 | 182 | return $this->updatedAt; |
| 183 | 183 | } |
@@ -165,12 +165,12 @@ discard block |
||
| 165 | 165 | return $this; |
| 166 | 166 | } |
| 167 | 167 | |
| 168 | - public function getLastName(): ?string |
|
| 168 | + public function getLastName(): ? string |
|
| 169 | 169 | { |
| 170 | 170 | return $this->lastName; |
| 171 | 171 | } |
| 172 | 172 | |
| 173 | - public function setLastName(?string $lastName = null): Account |
|
| 173 | + public function setLastName(? string $lastName = null) : Account |
|
| 174 | 174 | { |
| 175 | 175 | $this->lastName = $lastName; |
| 176 | 176 | |
@@ -201,7 +201,7 @@ discard block |
||
| 201 | 201 | return $this->chatId; |
| 202 | 202 | } |
| 203 | 203 | |
| 204 | - public function getUser(): ?User |
|
| 204 | + public function getUser(): ? User |
|
| 205 | 205 | { |
| 206 | 206 | return $this->user; |
| 207 | 207 | } |