Completed
Branch develop (d8e67e)
by Timothy
04:10
created
src/Aviat/Ion/Cache/Driver/SQLDriver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
 /**
20 20
  * Driver for caching via a traditional SQL database
21 21
  */
22
-class SQLDriver extends DB implements \Aviat\Ion\Cache\CacheDriverInterface  {
22
+class SQLDriver extends DB implements \Aviat\Ion\Cache\CacheDriverInterface {
23 23
 
24 24
 	/**
25 25
 	 * The query builder object
Please login to merge, or discard this patch.
src/Aviat/Ion/Cache/CacheManager.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
 	 * @param [array] $args - the arguments to pass to the retrieval method
53 53
 	 * @return mixed - the cached or fresh data
54 54
 	 */
55
-	public function get($object, $method, array $args=[])
55
+	public function get($object, $method, array $args = [])
56 56
 	{
57 57
 		$hash = $this->generateHashForMethod($object, $method, $args);
58 58
 
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
 	 * @param [array] $args - the arguments to pass to the retrieval method
75 75
 	 * @return mixed - the fresh data
76 76
 	 */
77
-	public function getFresh($object, $method, array $args=[])
77
+	public function getFresh($object, $method, array $args = [])
78 78
 	{
79 79
 		$hash = $this->generateHashForMethod($object, $method, $args);
80 80
 		$data = call_user_func_array([$object, $method], $args);
Please login to merge, or discard this patch.
src/Aviat/Ion/Cache/CacheInterface.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
 	 * @param [array] $args - the arguments to pass to the retrieval method
27 27
 	 * @return mixed - the cached or fresh data
28 28
 	 */
29
-	public function get($object, $method, array $args=[]);
29
+	public function get($object, $method, array $args = []);
30 30
 
31 31
 	/**
32 32
 	 * Retreive a fresh value, and update the cache
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
 	 * @param [array] $args - the arguments to pass to the retrieval method
37 37
 	 * @return mixed - the fresh data
38 38
 	 */
39
-	public function getFresh($object, $method, array $args=[]);
39
+	public function getFresh($object, $method, array $args = []);
40 40
 
41 41
 	/**
42 42
 	 * Clear the entire cache
Please login to merge, or discard this patch.
src/Aviat/AnimeClient/Dispatcher.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -273,7 +273,7 @@
 block discarded – undo
273 273
 
274 274
 		$params = [];
275 275
 
276
-		switch($failure->failedRule) {
276
+		switch ($failure->failedRule) {
277 277
 			case 'Aura\Router\Rule\Alows':
278 278
 				$params = [
279 279
 					'http_code' => 405,
Please login to merge, or discard this patch.
src/Aviat/AnimeClient/Controller/Anime.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
 
125 125
 		foreach ($raw_status_list as $status_item)
126 126
 		{
127
-			$statuses[$status_item] = (string) $this->string($status_item)
127
+			$statuses[$status_item] = (string)$this->string($status_item)
128 128
 				->underscored()
129 129
 				->humanize()
130 130
 				->titleize();
@@ -183,7 +183,7 @@  discard block
 block discarded – undo
183 183
 
184 184
 		foreach ($raw_status_list as $status_item)
185 185
 		{
186
-			$statuses[$status_item] = (string) $this->string($status_item)
186
+			$statuses[$status_item] = (string)$this->string($status_item)
187 187
 				->underscored()
188 188
 				->humanize()
189 189
 				->titleize();
Please login to merge, or discard this patch.
src/Aviat/AnimeClient/Controller/Manga.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
 		];
90 90
 
91 91
 		$data = ($status !== 'all')
92
-			? [$map[$status] => $this->cache->get($this->model, 'get_list', ['status' => $map[$status]]) ]
92
+			? [$map[$status] => $this->cache->get($this->model, 'get_list', ['status' => $map[$status]])]
93 93
 			: $this->cache->get($this->model, 'get_all_lists');
94 94
 
95 95
 		$this->outputHTML('manga/' . $view_map[$view], [
@@ -206,7 +206,7 @@  discard block
 block discarded – undo
206 206
 
207 207
 		if ($full_result['statusCode'] == 200)
208 208
 		{
209
-			$m =& $result['manga'][0];
209
+			$m = & $result['manga'][0];
210 210
 			$title = ( ! empty($m['english_title']))
211 211
 				? "{$m['romaji_title']} ({$m['english_title']})"
212 212
 				: "{$m['romaji_title']}";
Please login to merge, or discard this patch.