@@ -173,7 +173,7 @@  | 
                                                    ||
| 173 | 173 | $ext = $matches[2];  | 
                                                        
| 174 | 174 | |
| 175 | 175 |          return $this->hashPart('<a href="'.$url.'" class="post-image ' | 
                                                        
| 176 | -            .('gif' === $ext ? ' img-gif':'').'"><img src="'.$url.'" class="img-thumbnail" alt="Inline image"></a>'); | 
                                                        |
| 176 | +            .('gif' === $ext ? ' img-gif' : '').'"><img src="'.$url.'" class="img-thumbnail" alt="Inline image"></a>'); | 
                                                        |
| 177 | 177 | }  | 
                                                        
| 178 | 178 | |
| 179 | 179 | protected function doAnchorsPointUsernameCallback($matches)  | 
                                                        
@@ -24,7 +24,7 @@  | 
                                                    ||
| 24 | 24 |          $user = $em->getRepository('SkobkinPointToolsBundle:User')->findUserByLogin($login); | 
                                                        
| 25 | 25 | |
| 26 | 26 |          if (!$user) { | 
                                                        
| 27 | -            throw $this->createNotFoundException('User ' . $login . ' not found.'); | 
                                                        |
| 27 | +            throw $this->createNotFoundException('User '.$login.' not found.'); | 
                                                        |
| 28 | 28 | }  | 
                                                        
| 29 | 29 | |
| 30 | 30 |          $paginator = $this->get('knp_paginator'); | 
                                                        
@@ -96,13 +96,13 @@  | 
                                                    ||
| 96 | 96 | }  | 
                                                        
| 97 | 97 | |
| 98 | 98 |              if (OutputInterface::VERBOSITY_VERBOSE === $output->getVerbosity()) { | 
                                                        
| 99 | -                $output->writeln('@' . $row[1] . ' added'); | 
                                                        |
| 99 | +                $output->writeln('@'.$row[1].' added'); | 
                                                        |
| 100 | 100 | }  | 
                                                        
| 101 | 101 | |
| 102 | 102 | $count++;  | 
                                                        
| 103 | 103 | }  | 
                                                        
| 104 | 104 | |
| 105 | - $output->writeln($count . ' users imported.');  | 
                                                        |
| 105 | + $output->writeln($count.' users imported.');  | 
                                                        |
| 106 | 106 | |
| 107 | 107 | return 0;  | 
                                                        
| 108 | 108 | }  | 
                                                        
@@ -95,7 +95,7 @@  | 
                                                    ||
| 95 | 95 | bool $disableNotifications = false  | 
                                                        
| 96 | 96 |      ): bool { | 
                                                        
| 97 | 97 | $sendMessage = new SendMessage();  | 
                                                        
| 98 | - $sendMessage->chat_id = (string)$chatId;  | 
                                                        |
| 98 | + $sendMessage->chat_id = (string) $chatId;  | 
                                                        |
| 99 | 99 | $sendMessage->text = $text;  | 
                                                        
| 100 | 100 | $sendMessage->parse_mode = $parseMode;  | 
                                                        
| 101 | 101 | $sendMessage->disable_web_page_preview = $disableWebPreview;  | 
                                                        
@@ -101,7 +101,7 @@  | 
                                                    ||
| 101 | 101 |      { | 
                                                        
| 102 | 102 |          $qb = $this->createQueryBuilder('se'); | 
                                                        
| 103 | 103 | |
| 104 | - $rows = $qb  | 
                                                        |
| 104 | + $rows = $qb  | 
                                                        |
| 105 | 105 | ->select([  | 
                                                        
| 106 | 106 | 'NEW Skobkin\Bundle\PointToolsBundle\DTO\DailyEvents(DAY(se.date), COUNT(se))',  | 
                                                        
| 107 | 107 | 'DAY(se.date) as day',  | 
                                                        
@@ -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 | }  |