@@ -63,7 +63,7 @@ |
||
| 63 | 63 | */ |
| 64 | 64 | public function setDebug($debug) |
| 65 | 65 | { |
| 66 | - $this->debug = (bool)$debug; |
|
| 66 | + $this->debug = (bool) $debug; |
|
| 67 | 67 | |
| 68 | 68 | return $this; |
| 69 | 69 | } |
@@ -31,7 +31,7 @@ |
||
| 31 | 31 | */ |
| 32 | 32 | public function __invoke(callable $handler) |
| 33 | 33 | { |
| 34 | - return function (RequestInterface $request, array $options) use ($handler) { |
|
| 34 | + return function(RequestInterface $request, array $options) use ($handler) { |
|
| 35 | 35 | foreach ($this->authentication->getHeaders() as $header) { |
| 36 | 36 | $request = $request->withHeader( |
| 37 | 37 | $header->getHeaderKey(), |
@@ -158,7 +158,7 @@ |
||
| 158 | 158 | { |
| 159 | 159 | $this->tva_assuj = false; |
| 160 | 160 | $this->codeClient = -1; //automatically assigned by Dolibarr |
| 161 | - $this->codeFournisseur = -1; //automatically assigned by Dolibarr |
|
| 161 | + $this->codeFournisseur = -1; //automatically assigned by Dolibarr |
|
| 162 | 162 | $this->activity = true; //in activity |
| 163 | 163 | } |
| 164 | 164 | |
@@ -2,5 +2,5 @@ |
||
| 2 | 2 | |
| 3 | 3 | use Doctrine\Common\Annotations\AnnotationRegistry; |
| 4 | 4 | |
| 5 | -$loader = @include __DIR__ . '/../vendor/autoload.php'; |
|
| 5 | +$loader = @include __DIR__.'/../vendor/autoload.php'; |
|
| 6 | 6 | AnnotationRegistry::registerLoader('class_exists'); |
@@ -64,7 +64,7 @@ discard block |
||
| 64 | 64 | */ |
| 65 | 65 | private function getExpectedResponse($name) |
| 66 | 66 | { |
| 67 | - return file_get_contents(__DIR__ . "/Data/Response/" . $name . ".json"); |
|
| 67 | + return file_get_contents(__DIR__."/Data/Response/".$name.".json"); |
|
| 68 | 68 | } |
| 69 | 69 | |
| 70 | 70 | /** |
@@ -74,7 +74,7 @@ discard block |
||
| 74 | 74 | */ |
| 75 | 75 | protected function getExpectedPayload($name) |
| 76 | 76 | { |
| 77 | - return file_get_contents(__DIR__ . "/Data/Request/" . $name . ".json"); |
|
| 77 | + return file_get_contents(__DIR__."/Data/Request/".$name.".json"); |
|
| 78 | 78 | } |
| 79 | 79 | |
| 80 | 80 | /** |