@@ -20,6 +20,9 @@ |
||
| 20 | 20 | trait ExceptionLoggerTrait |
| 21 | 21 | { |
| 22 | 22 | |
| 23 | + /** |
|
| 24 | + * @param string $message |
|
| 25 | + */ |
|
| 23 | 26 | abstract protected function logImpl($level, $message, array $context = array()); |
| 24 | 27 | |
| 25 | 28 | /** |
@@ -39,8 +39,9 @@ |
||
| 39 | 39 | */ |
| 40 | 40 | public static function hasElement($array, $element): bool |
| 41 | 41 | { |
| 42 | - if (! is_array($array)) |
|
| 43 | - return false; |
|
| 42 | + if (! is_array($array)) { |
|
| 43 | + return false; |
|
| 44 | + } |
|
| 44 | 45 | |
| 45 | 46 | return isset($array[$element]) && strlen($array[$element]) > 0; |
| 46 | 47 | } |
@@ -22,7 +22,8 @@ |
||
| 22 | 22 | * Create a new session provider |
| 23 | 23 | */ |
| 24 | 24 | public function __construct() |
| 25 | - {} |
|
| 25 | + { |
|
| 26 | +} |
|
| 26 | 27 | |
| 27 | 28 | /** |
| 28 | 29 | * Create session |
@@ -475,6 +475,7 @@ |
||
| 475 | 475 | |
| 476 | 476 | /** |
| 477 | 477 | * Adjust the headers by injecting default values for missing keys. |
| 478 | + * @param string $requestType |
|
| 478 | 479 | */ |
| 479 | 480 | private function adjustHeaders($requestType) |
| 480 | 481 | { |