Passed
Push — feature/super-model ( 13c8a0...a850c4 )
by axel
01:59
created
src/MalScraper/MalScraper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -161,7 +161,7 @@
 block discarded – undo
161 161
             $result['status_message'] = self::toResponse($response);
162 162
             $result['data'] = [];
163 163
         } else {
164
-            header('HTTP/1.1 '. 200);
164
+            header('HTTP/1.1 '.200);
165 165
             $result['status'] = 200;
166 166
             $result['status_message'] = 'Success';
167 167
             $result['data'] = self::superEncode($response);
Please login to merge, or discard this patch.
src/MalScraper/Helper/Helper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -161,7 +161,7 @@
 block discarded – undo
161 161
             $result['status_message'] = self::toResponse($response);
162 162
             $result['data'] = [];
163 163
         } else {
164
-            header('HTTP/1.1 '. 200);
164
+            header('HTTP/1.1 '.200);
165 165
             $result['status'] = 200;
166 166
             $result['status_message'] = 'Success';
167 167
             $result['data'] = self::superEncode($response);
Please login to merge, or discard this patch.
src/MalScraper/Model/General/CharacterModel.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
      *
93 93
      * @return string
94 94
      */
95
-    private function getName($isKanji=false)
95
+    private function getName($isKanji = false)
96 96
     {
97 97
         $html = $this->_parser->find('#content table tr', 0);
98 98
         $html = $html->find('td', 0)->next_sibling()->find('div[class=normal_header]', 0);
@@ -151,7 +151,7 @@  discard block
 block discarded – undo
151 151
      *
152 152
      * @return array
153 153
      */
154
-    private function getMedia($type='anime')
154
+    private function getMedia($type = 'anime')
155 155
     {
156 156
         $mediaography = [];
157 157
         $mediaography_index = 0;
Please login to merge, or discard this patch.
src/MalScraper/Model/MainModel.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
      *
74 74
      * @return \simplehtmldom_1_5\simple_html_dom
75 75
      */
76
-	static function getParser($url,$contentDiv, $additionalSetting = false)
76
+	static function getParser($url, $contentDiv, $additionalSetting = false)
77 77
 	{
78 78
 		$html = HtmlDomParser::file_get_html($url)->find($contentDiv, 0);
79 79
 		$html = !$additionalSetting ? $html : $html->next_sibling();
@@ -153,6 +153,6 @@  discard block
 block discarded – undo
153 153
     {
154 154
         $className = get_class($model);
155 155
         $className = explode('\\', $className);
156
-        return $className[count($className)-1];
156
+        return $className[count($className) - 1];
157 157
     }
158 158
 }
159 159
\ No newline at end of file
Please login to merge, or discard this patch.