@@ -34,7 +34,7 @@ |
||
34 | 34 | * @return string |
35 | 35 | */ |
36 | 36 | protected function getErrorMessageByErrorCode($httpCode) { |
37 | - switch($httpCode) { |
|
37 | + switch ($httpCode) { |
|
38 | 38 | case 401: |
39 | 39 | return 'API identity or secret incorrect or file is empty'; |
40 | 40 | case 402: |
@@ -34,7 +34,7 @@ |
||
34 | 34 | * @return string |
35 | 35 | */ |
36 | 36 | protected function getErrorMessageByErrorCode($httpCode) { |
37 | - switch($httpCode) { |
|
37 | + switch ($httpCode) { |
|
38 | 38 | case 401: |
39 | 39 | return 'API identity or secret incorrect or file is empty'; |
40 | 40 | case 402: |
@@ -34,7 +34,7 @@ |
||
34 | 34 | * @return string |
35 | 35 | */ |
36 | 36 | protected function getErrorMessageByErrorCode($httpCode) { |
37 | - switch($httpCode) { |
|
37 | + switch ($httpCode) { |
|
38 | 38 | case 401: |
39 | 39 | return 'API identity or secret incorrect or file is empty'; |
40 | 40 | case 402: |
@@ -34,7 +34,7 @@ |
||
34 | 34 | * @return string |
35 | 35 | */ |
36 | 36 | protected function getErrorMessageByErrorCode($httpCode) { |
37 | - switch($httpCode) { |
|
37 | + switch ($httpCode) { |
|
38 | 38 | case 401: |
39 | 39 | return 'API identity or secret incorrect or file is empty'; |
40 | 40 | case 402: |
@@ -34,7 +34,7 @@ |
||
34 | 34 | * @return string |
35 | 35 | */ |
36 | 36 | protected function getErrorMessageByErrorCode($httpCode) { |
37 | - switch($httpCode) { |
|
37 | + switch ($httpCode) { |
|
38 | 38 | case 401: |
39 | 39 | return 'API identity or secret incorrect or file is empty'; |
40 | 40 | case 402: |
@@ -34,7 +34,7 @@ |
||
34 | 34 | * @return string |
35 | 35 | */ |
36 | 36 | protected function getErrorMessageByErrorCode($httpCode) { |
37 | - switch($httpCode) { |
|
37 | + switch ($httpCode) { |
|
38 | 38 | case 401: |
39 | 39 | return 'API identity or secret incorrect or file is empty'; |
40 | 40 | case 402: |
@@ -34,7 +34,7 @@ |
||
34 | 34 | * @return string |
35 | 35 | */ |
36 | 36 | protected function getErrorMessageByErrorCode($httpCode) { |
37 | - switch($httpCode) { |
|
37 | + switch ($httpCode) { |
|
38 | 38 | case 401: |
39 | 39 | return 'API identity or secret incorrect or file is empty'; |
40 | 40 | case 402: |
@@ -48,7 +48,7 @@ |
||
48 | 48 | * @param object $res |
49 | 49 | * @return UploadFileResult |
50 | 50 | */ |
51 | - function parseResult($httpCode, $res){ |
|
51 | + function parseResult($httpCode, $res) { |
|
52 | 52 | return new UploadFileResult($httpCode, $res); |
53 | 53 | } |
54 | 54 | } |
@@ -48,7 +48,7 @@ |
||
48 | 48 | * @param object $res |
49 | 49 | * @return UploadFileResult |
50 | 50 | */ |
51 | - function parseResult($httpCode, $res){ |
|
51 | + function parseResult($httpCode, $res) { |
|
52 | 52 | return new UploadFileResult($httpCode, $res); |
53 | 53 | } |
54 | 54 | } |