@@ -6,7 +6,7 @@ |
||
| 6 | 6 | |
| 7 | 7 | class MessageEntityArray extends AbstractEntity |
| 8 | 8 | { |
| 9 | - const ENTITY_TYPE = 'MessageEntityArray'; |
|
| 9 | + const ENTITY_TYPE = 'MessageEntityArray'; |
|
| 10 | 10 | |
| 11 | 11 | protected $entities; |
| 12 | 12 | |
@@ -4,7 +4,7 @@ |
||
| 4 | 4 | |
| 5 | 5 | class UserProfilePhotos extends AbstractEntity |
| 6 | 6 | { |
| 7 | - const ENTITY_TYPE = 'UserProfilePhotos'; |
|
| 7 | + const ENTITY_TYPE = 'UserProfilePhotos'; |
|
| 8 | 8 | |
| 9 | 9 | protected $total_count; |
| 10 | 10 | |
@@ -77,7 +77,7 @@ |
||
| 77 | 77 | public function download($storePath) |
| 78 | 78 | { |
| 79 | 79 | if (file_exists($storePath) && !is_writable($storePath)) { |
| 80 | - throw new EntityException('File "' . $storePath . '" is already exist!"'); |
|
| 80 | + throw new EntityException('File "'.$storePath.'" is already exist!"'); |
|
| 81 | 81 | } |
| 82 | 82 | |
| 83 | 83 | $filePath = $this->getFilePath(); |
@@ -20,7 +20,7 @@ |
||
| 20 | 20 | protected function initFileForUpload() |
| 21 | 21 | { |
| 22 | 22 | if (!$this->isFileReadable($this->file)) { |
| 23 | - throw new EntityException('File "' . $this->file . '" is not readable or does not exist!'); |
|
| 23 | + throw new EntityException('File "'.$this->file.'" is not readable or does not exist!'); |
|
| 24 | 24 | } |
| 25 | 25 | return fopen($this->file, 'r'); |
| 26 | 26 | } |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Teebot\Command\Emulator; |
| 6 | 6 | |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Teebot\Command\Emulator; |
| 6 | 6 | |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Teebot\Command\Listener; |
| 6 | 6 | |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Teebot\Command\Listener; |
| 6 | 6 | |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Teebot\Command; |
| 6 | 6 | |