@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | +use FreedomCore\TrinityCore\Character\Character; |
|
| 3 | 4 | use FreedomCore\TrinityCore\Console\Client as SOAPClient; |
| 4 | 5 | use FreedomCore\TrinityCore\Support\DB2Reader; |
| 5 | -use FreedomCore\TrinityCore\Character\Character; |
|
| 6 | 6 | |
| 7 | 7 | $client = new SOAPClient('2#1', 'soapPassword'); |
| 8 | 8 | $reader = new DB2Reader(true); |
@@ -35,7 +35,7 @@ discard block |
||
| 35 | 35 | |
| 36 | 36 | /** |
| 37 | 37 | * Execute the console command. |
| 38 | - * @return mixed |
|
| 38 | + * @return boolean |
|
| 39 | 39 | */ |
| 40 | 40 | public function handle() |
| 41 | 41 | { |
@@ -152,8 +152,8 @@ discard block |
||
| 152 | 152 | /** |
| 153 | 153 | * Get text between two substrings |
| 154 | 154 | * @param $string |
| 155 | - * @param $start |
|
| 156 | - * @param $end |
|
| 155 | + * @param string $start |
|
| 156 | + * @param string $end |
|
| 157 | 157 | * @see https://stackoverflow.com/a/9826656/2057806 |
| 158 | 158 | * @author Alejandro Iglesias |
| 159 | 159 | * @return bool|string |