Passed
Branch master (1111c2)
by smiley
05:31
created
examples/GW2API/ItemMultiResponseHandler.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -190,7 +190,7 @@
 block discarded – undo
190 190
 	/**
191 191
 	 * Write some info to the CLI
192 192
 	 *
193
-	 * @param $str
193
+	 * @param string $str
194 194
 	 */
195 195
 	protected function logToCLI($str){
196 196
 		echo '['.date('c', time()).']'.sprintf('[%10ss] ', sprintf('%01.4f', microtime(true) - $this->starttime)).$str.PHP_EOL;
Please login to merge, or discard this patch.
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -206,11 +206,11 @@
 block discarded – undo
206 206
 		}, self::API_LANGUAGES);
207 207
 
208 208
 		$sql = 'CREATE TEMPORARY TABLE IF NOT EXISTS `'.self::TEMP_TABLE.'` ('
209
-		       .'`id` int(10) unsigned NOT NULL,'
210
-		       .substr(implode(' ', $sql_lang), 0, -1)
211
-		       .' `updated` tinyint(1) unsigned NOT NULL DEFAULT 0,'
212
-		       .'`response_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,'
213
-		       .'PRIMARY KEY (`id`)) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin';
209
+			   .'`id` int(10) unsigned NOT NULL,'
210
+			   .substr(implode(' ', $sql_lang), 0, -1)
211
+			   .' `updated` tinyint(1) unsigned NOT NULL DEFAULT 0,'
212
+			   .'`response_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,'
213
+			   .'PRIMARY KEY (`id`)) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin';
214 214
 		$this->DBDriverInterface->raw('DROP TEMPORARY TABLE IF EXISTS `'.self::TEMP_TABLE.'`');
215 215
 		$this->DBDriverInterface->raw($sql);
216 216
 	}
Please login to merge, or discard this patch.
examples/gw2api.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- *
4
- * @filesource   gw2api.php
5
- * @created      17.02.2016
6
- * @author       Smiley <[email protected]>
7
- * @copyright    2016 Smiley
8
- * @license      MIT
9
- */
3
+	 *
4
+	 * @filesource   gw2api.php
5
+	 * @created      17.02.2016
6
+	 * @author       Smiley <[email protected]>
7
+	 * @copyright    2016 Smiley
8
+	 * @license      MIT
9
+	 */
10 10
 
11 11
 namespace Example;
12 12
 
Please login to merge, or discard this patch.