Skip to content

Commit 7513ca0

Browse files
committed
revert
1 parent 7032acb commit 7513ca0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docker/run_php.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ fi
120120

121121

122122
#Run unit tests
123-
cd /php-dev && ./bin/phpspec run --config=phpspec.yml --bootstrap=vendor/autoload.php --no-interaction --format=pretty
123+
cd /php-dev && ./bin/phpspec run --config=phpspec.yml --bootstrap=./vendor/autoload.php --no-interaction --format=pretty
124124

125125
#Run php-cs-fixer
126126
./bin/php-cs-fixer fix . --dry-run --diff --level=psr2

source/rosette/api/Api.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -332,11 +332,11 @@ private function callEndpoint($parameters, $subUrl)
332332
$resultObject = '';
333333

334334
// if custom headers exist, add them
335-
if($parameters->customHeaders != null){
335+
/*if($parameters->customHeaders != null){
336336
foreach ($parameters->customHeaders as $key => $value) {
337337
array_push($this->headers, $value);
338338
}
339-
}
339+
}*/
340340

341341
if (strlen($parameters->getMultiPartContent()) > 0) {
342342
$content = $parameters->getMultiPartContent();

0 commit comments

Comments
 (0)