@@ -85,7 +85,7 @@ |
||
85 | 85 | return FALSE; |
86 | 86 | } |
87 | 87 | |
88 | - $sFullLogMessage = date('[Y-m-d H:i:s] ').strtoupper($level).' - '.$message.PHP_EOL; |
|
88 | + $sFullLogMessage = date('[Y-m-d H:i:s] ') . strtoupper($level) . ' - ' . $message . PHP_EOL; |
|
89 | 89 | error_log($sFullLogMessage, 3, $fileName); |
90 | 90 | |
91 | 91 | return true; |
@@ -105,7 +105,7 @@ discard block |
||
105 | 105 | } |
106 | 106 | |
107 | 107 | /** |
108 | - * @return string |
|
108 | + * @return integer |
|
109 | 109 | */ |
110 | 110 | public function getBirthday() |
111 | 111 | { |
@@ -311,7 +311,7 @@ discard block |
||
311 | 311 | } |
312 | 312 | |
313 | 313 | /** |
314 | - * @return string |
|
314 | + * @return integer |
|
315 | 315 | */ |
316 | 316 | public function getUserid() |
317 | 317 | { |
@@ -105,7 +105,7 @@ discard block |
||
105 | 105 | } |
106 | 106 | |
107 | 107 | /** |
108 | - * @return string |
|
108 | + * @return integer |
|
109 | 109 | */ |
110 | 110 | public function getBirthday() |
111 | 111 | { |
@@ -311,7 +311,7 @@ discard block |
||
311 | 311 | } |
312 | 312 | |
313 | 313 | /** |
314 | - * @return string |
|
314 | + * @return integer |
|
315 | 315 | */ |
316 | 316 | public function getUserid() |
317 | 317 | { |
@@ -40,7 +40,6 @@ |
||
40 | 40 | protected $data = NULL; |
41 | 41 | |
42 | 42 | /** |
43 | - * @param int $key |
|
44 | 43 | * @return array |
45 | 44 | */ |
46 | 45 | public function toArray() |
@@ -66,7 +66,7 @@ |
||
66 | 66 | |
67 | 67 | $requestParams = $this->getMapperRequest()->map($request); |
68 | 68 | |
69 | - if($request->isFrontendApiCall() === false) { |
|
69 | + if ($request->isFrontendApiCall() === false) { |
|
70 | 70 | $responseRaw = $this->getAdapter()->request($requestParams); |
71 | 71 | } else { |
72 | 72 | $responseRaw = $request->getFrontendApiResponse(); |
@@ -73,8 +73,7 @@ |
||
73 | 73 | $response = $this->getMapperResponse()->map($responseRaw); |
74 | 74 | |
75 | 75 | $this->protocol($request, $response); |
76 | - } |
|
77 | - catch (Exception $e) { |
|
76 | + } catch (Exception $e) { |
|
78 | 77 | $this->protocolException($e, $request); |
79 | 78 | throw $e; |
80 | 79 | } |
@@ -73,8 +73,7 @@ |
||
73 | 73 | $response = $this->getMapperResponse()->map($responseRaw); |
74 | 74 | |
75 | 75 | $this->protocol($request, $response); |
76 | - } |
|
77 | - catch (Exception $e) { |
|
76 | + } catch (Exception $e) { |
|
78 | 77 | $this->protocolException($e, $request); |
79 | 78 | throw $e; |
80 | 79 | } |
@@ -73,8 +73,7 @@ |
||
73 | 73 | $response = $this->getMapperResponse()->map($responseRaw); |
74 | 74 | |
75 | 75 | $this->protocol($request, $response); |
76 | - } |
|
77 | - catch (Exception $e) { |
|
76 | + } catch (Exception $e) { |
|
78 | 77 | $this->protocolException($e, $request); |
79 | 78 | throw $e; |
80 | 79 | } |
@@ -73,8 +73,7 @@ |
||
73 | 73 | $response = $this->getMapperResponse()->map($responseRaw); |
74 | 74 | |
75 | 75 | $this->protocol($request, $response); |
76 | - } |
|
77 | - catch (Exception $e) { |
|
76 | + } catch (Exception $e) { |
|
78 | 77 | $this->protocolException($e, $request); |
79 | 78 | throw $e; |
80 | 79 | } |
@@ -73,8 +73,7 @@ |
||
73 | 73 | $response = $this->getMapperResponse()->map($responseRaw); |
74 | 74 | |
75 | 75 | $this->protocol($request, $response); |
76 | - } |
|
77 | - catch (Exception $e) { |
|
76 | + } catch (Exception $e) { |
|
78 | 77 | $this->protocolException($e, $request); |
79 | 78 | throw $e; |
80 | 79 | } |