@@ -647,7 +647,7 @@ |
||
647 | 647 | } |
648 | 648 | |
649 | 649 | return ($action === 'encrypt') ? base64_encode($return) : $return; |
650 | - // On renvoie la chaine encrypter ou decrypter |
|
650 | + // On renvoie la chaine encrypter ou decrypter |
|
651 | 651 | } |
652 | 652 | |
653 | 653 | /** |
@@ -799,9 +799,9 @@ |
||
799 | 799 | return $returned; |
800 | 800 | } |
801 | 801 | |
802 | - if ($returned instanceof Responsable) { |
|
803 | - return $returned->toResponse($this->request); |
|
804 | - } |
|
802 | + if ($returned instanceof Responsable) { |
|
803 | + return $returned->toResponse($this->request); |
|
804 | + } |
|
805 | 805 | |
806 | 806 | if (is_object($returned)) { |
807 | 807 | if (method_exists($returned, '__toString')) { |
@@ -82,9 +82,9 @@ |
||
82 | 82 | */ |
83 | 83 | public function setMethods(?array $methods): self |
84 | 84 | { |
85 | - if (is_array($methods)) { |
|
86 | - $this->methods = $methods; |
|
87 | - } |
|
85 | + if (is_array($methods)) { |
|
86 | + $this->methods = $methods; |
|
87 | + } |
|
88 | 88 | |
89 | 89 | return $this; |
90 | 90 | } |