@@ -56,7 +56,7 @@ discard block |
||
| 56 | 56 | if ((isset($this->attributesDefinitions[$key]) === true) |
| 57 | 57 | && (in_array($this->attributesDefinitions[$key], $bypassTypes) === false) |
| 58 | 58 | ) { |
| 59 | - switch($this->attributesDefinitions[$key]) { |
|
| 59 | + switch ($this->attributesDefinitions[$key]) { |
|
| 60 | 60 | case 'bool': |
| 61 | 61 | case 'boolean': |
| 62 | 62 | $value = $value ? 1 : 0; |
@@ -95,11 +95,11 @@ discard block |
||
| 95 | 95 | switch ($this->attributesDefinitions[$key]) { |
| 96 | 96 | case 'bool': |
| 97 | 97 | case 'boolean': |
| 98 | - $value = (bool) $value; |
|
| 98 | + $value = (bool)$value; |
|
| 99 | 99 | break; |
| 100 | 100 | case 'int': |
| 101 | 101 | case 'integer': |
| 102 | - $value = (int) $value; |
|
| 102 | + $value = (int)$value; |
|
| 103 | 103 | break; |
| 104 | 104 | case 'array': |
| 105 | 105 | try { |
@@ -111,7 +111,7 @@ discard block |
||
| 111 | 111 | case 'real': |
| 112 | 112 | case 'double': |
| 113 | 113 | case 'float': |
| 114 | - $value = (float) $value; |
|
| 114 | + $value = (float)$value; |
|
| 115 | 115 | break; |
| 116 | 116 | } |
| 117 | 117 | } |
@@ -44,7 +44,7 @@ |
||
| 44 | 44 | */ |
| 45 | 45 | protected function getAccessTokenKey($aid) |
| 46 | 46 | { |
| 47 | - return $this->namespace . ':' . $aid; |
|
| 47 | + return $this->namespace.':'.$aid; |
|
| 48 | 48 | } |
| 49 | 49 | |
| 50 | 50 | /** |
@@ -44,7 +44,7 @@ |
||
| 44 | 44 | */ |
| 45 | 45 | protected function getClientKey($cid) |
| 46 | 46 | { |
| 47 | - return $this->namespace . ':' . $cid; |
|
| 47 | + return $this->namespace.':'.$cid; |
|
| 48 | 48 | } |
| 49 | 49 | |
| 50 | 50 | /** |
@@ -47,7 +47,7 @@ discard block |
||
| 47 | 47 | */ |
| 48 | 48 | protected function getScopeKey($sid) |
| 49 | 49 | { |
| 50 | - return $this->namespace . ':' . $sid; |
|
| 50 | + return $this->namespace.':'.$sid; |
|
| 51 | 51 | } |
| 52 | 52 | |
| 53 | 53 | /** |
@@ -56,7 +56,7 @@ discard block |
||
| 56 | 56 | */ |
| 57 | 57 | protected function getScopeListKey() |
| 58 | 58 | { |
| 59 | - return $this->namespace . ':keys'; |
|
| 59 | + return $this->namespace.':keys'; |
|
| 60 | 60 | } |
| 61 | 61 | |
| 62 | 62 | /** |
@@ -65,7 +65,7 @@ discard block |
||
| 65 | 65 | */ |
| 66 | 66 | protected function getScopeDefaultListKey() |
| 67 | 67 | { |
| 68 | - return $this->namespace . ':defaultkeys'; |
|
| 68 | + return $this->namespace.':defaultkeys'; |
|
| 69 | 69 | } |
| 70 | 70 | |
| 71 | 71 | /** |
@@ -44,7 +44,7 @@ |
||
| 44 | 44 | */ |
| 45 | 45 | protected function getRefreshTokenKey($rid) |
| 46 | 46 | { |
| 47 | - return $this->namespace . ':' . $rid; |
|
| 47 | + return $this->namespace.':'.$rid; |
|
| 48 | 48 | } |
| 49 | 49 | |
| 50 | 50 | /** |
@@ -44,7 +44,7 @@ |
||
| 44 | 44 | */ |
| 45 | 45 | protected function getCypherKeyKey($aid) |
| 46 | 46 | { |
| 47 | - return $this->namespace . ':' . $aid; |
|
| 47 | + return $this->namespace.':'.$aid; |
|
| 48 | 48 | } |
| 49 | 49 | |
| 50 | 50 | /** |
@@ -44,7 +44,7 @@ |
||
| 44 | 44 | */ |
| 45 | 45 | protected function getAuthCodeKey($aid) |
| 46 | 46 | { |
| 47 | - return $this->namespace . ':' . $aid; |
|
| 47 | + return $this->namespace.':'.$aid; |
|
| 48 | 48 | } |
| 49 | 49 | |
| 50 | 50 | /** |
@@ -23,8 +23,8 @@ |
||
| 23 | 23 | <div> |
| 24 | 24 | Liste des scopes demandés : |
| 25 | 25 | <ul> |
| 26 | - <?php foreach($requestedScopes as $scope): ?> |
|
| 27 | - <li><?php echo $scope['id']. ' ' . (empty($scope['description']) ? '' : $scope['description']); ?> </li> |
|
| 26 | + <?php foreach ($requestedScopes as $scope): ?> |
|
| 27 | + <li><?php echo $scope['id'].' '.(empty($scope['description']) ? '' : $scope['description']); ?> </li> |
|
| 28 | 28 | <?php endforeach; ?> |
| 29 | 29 | </ul> |
| 30 | 30 | </div> |
@@ -51,7 +51,7 @@ |
||
| 51 | 51 | */ |
| 52 | 52 | public function updateAttribute() |
| 53 | 53 | { |
| 54 | - foreach($this->attributes as $attribute) { |
|
| 54 | + foreach ($this->attributes as $attribute) { |
|
| 55 | 55 | if ($this->owner->{$attribute} === null) { |
| 56 | 56 | $this->owner->{$attribute} = []; |
| 57 | 57 | } |