Completed
Push — master ( b56490...a0dacf )
by Michael
05:39
created
src/Commands/SnapshotCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
 	 */
34 34
 	public function __construct(StatsJsonView $view)
35 35
 	{
36
-		$this->view  = $view;
36
+		$this->view = $view;
37 37
 	}
38 38
 
39 39
 	/**
Please login to merge, or discard this patch.
src/WebApplication.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,8 +40,7 @@
 block discarded – undo
40 40
 		{
41 41
 			$controller = $this->router->getController($this->get('uri.route'));
42 42
 			$controller->execute();
43
-		}
44
-		catch (\Exception $e)
43
+		} catch (\Exception $e)
45 44
 		{
46 45
 			// Log the error for reference
47 46
 			$this->getLogger()->error(
Please login to merge, or discard this patch.
src/Views/Stats/StatsJsonView.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -186,7 +186,7 @@
 block discarded – undo
186 186
 	/**
187 187
 	 * Process the response for a single data source.
188 188
 	 *
189
-	 * @param   array  $items  The source items to process.
189
+	 * @param   \stdClass[]  $items  The source items to process.
190 190
 	 *
191 191
 	 * @return  string  The rendered view.
192 192
 	 *
Please login to merge, or discard this patch.
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -102,8 +102,7 @@  discard block
 block discarded – undo
102 102
 							}
103 103
 
104 104
 							${$source}['unknown']++;
105
-						}
106
-						else
105
+						} else
107 106
 						{
108 107
 							if (!isset(${$source}[$item->$source]))
109 108
 							{
@@ -215,8 +214,7 @@  discard block
 block discarded – undo
215 214
 						}
216 215
 
217 216
 						$data[$source]['unknown']++;
218
-					}
219
-					else
217
+					} else
220 218
 					{
221 219
 						if (!isset($data[$source][$item->$source]))
222 220
 						{
Please login to merge, or discard this patch.