@@ -137,7 +137,7 @@ |
||
137 | 137 | $entity = null; |
138 | 138 | |
139 | 139 | if (!class_exists($entityClass)) { |
140 | - Output::log(new Critical('Entity "' . $entityClass . '" does not exists or not supported yet!')); |
|
140 | + Output::log(new Critical('Entity "'.$entityClass.'" does not exists or not supported yet!')); |
|
141 | 141 | } |
142 | 142 | /** @var AbstractEntity $entity */ |
143 | 143 | $entity = new $entityClass($rawItemData); |
@@ -7,7 +7,7 @@ |
||
7 | 7 | */ |
8 | 8 | |
9 | 9 | define('ROOT_DIR', realpath(__DIR__)); |
10 | -require_once ROOT_DIR . '/vendor/autoload.php'; |
|
10 | +require_once ROOT_DIR.'/vendor/autoload.php'; |
|
11 | 11 | |
12 | 12 | $client = new Teebot\Client(); |
13 | 13 |
@@ -5,7 +5,7 @@ |
||
5 | 5 | * @author Stan Drozdov <[email protected]> |
6 | 6 | */ |
7 | 7 | |
8 | -require_once realpath(__DIR__) . '/vendor/autoload.php'; |
|
8 | +require_once realpath(__DIR__).'/vendor/autoload.php'; |
|
9 | 9 | |
10 | 10 | $client = new \Teebot\Client(['n' => 'Example']); |
11 | 11 | $response = $client->webhook(); |
@@ -80,11 +80,11 @@ |
||
80 | 80 | { |
81 | 81 | echo "\nCreating a new bot.\n"; |
82 | 82 | |
83 | - echo $botName . " - " . $token . " - " . $dir; |
|
83 | + echo $botName." - ".$token." - ".$dir; |
|
84 | 84 | } |
85 | 85 | } |
86 | 86 | |
87 | 87 | define('ROOT_DIR', realpath(__DIR__)); |
88 | -require_once ROOT_DIR . '/vendor/autoload.php'; |
|
88 | +require_once ROOT_DIR.'/vendor/autoload.php'; |
|
89 | 89 | |
90 | 90 | $BotMother = new BotMother(); |