Skip to content

Commit 9974af6

Browse files
Merge pull request #164 from MarcinOrlowski/provider-fix
Fixed ServiceProvider. Closes #162
2 parents bf776e7 + d5ee9e5 commit 9974af6

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

CHANGES.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ before doing major upgrade!
88

99
## CHANGE LOG ##
1010

11+
* @dev
12+
* Fixed failing `ServiceProvider` (reported by Efriandika Pratama).
13+
* Corrected documentation and usage examples.
14+
1115
* v9.0.0 (2020-10-17)
1216
* **BACKWARD INCOMPATIBLE CHANGES** ([more info](docs/compatibility.md))
1317
* [RB-156] Added logic to deal with directly returned objects or arrays.

src/ResponseBuilderServiceProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Disable return type hint inspection as we do not have it specified in that
44
* class for a purpose. The base class is also not having return type hints.
55
*
6-
* @noinspection ReturnTypeCanBeDeclaredInspection
6+
* @noinspection RAeturnTypeCanBeDeclaredInspection
77
*/
88

99
declare(strict_types=1);
@@ -37,7 +37,7 @@ class ResponseBuilderServiceProvider extends ServiceProvider
3737
public function register()
3838
{
3939
foreach ($this->config_files as $file) {
40-
$this->mergeConfigFrom(__DIR__ . "/../config/{$file}", RB::CONF_CONFIG);
40+
$this->mergeConfigFrom(__DIR__ . "/../config/{$file}", ResponseBuilder::CONF_CONFIG);
4141
}
4242
}
4343

0 commit comments

Comments
 (0)