Skip to content

Commit

Permalink
fix: typo in method name
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjis committed Oct 3, 2023
1 parent 262c048 commit 93001f1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion system/Commands/Utilities/Routes/FilterCollector.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public function get(string $method, string $uri): array
];
}

$request = Services::incommingrequest(null, false);
$request = Services::incomingrequest(null, false);
$request->setMethod($method);

$router = $this->createRouter($request);
Expand Down
2 changes: 1 addition & 1 deletion system/Test/ControllerTestTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ protected function setUpControllerTestTrait(): void
$tempUri = Services::uri();
Services::injectMock('uri', $this->uri);

$this->withRequest(Services::incommingrequest($this->appConfig, false));
$this->withRequest(Services::incomingrequest($this->appConfig, false));

// Restore the URI service
Services::injectMock('uri', $tempUri);
Expand Down
2 changes: 1 addition & 1 deletion system/Test/ControllerTester.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ protected function setUpControllerTester(): void
$tempUri = Services::uri();
Services::injectMock('uri', $this->uri);

$this->withRequest(Services::incommingrequest($this->appConfig, false)->setBody($this->body));
$this->withRequest(Services::incomingrequest($this->appConfig, false)->setBody($this->body));

// Restore the URI service
Services::injectMock('uri', $tempUri);
Expand Down
2 changes: 1 addition & 1 deletion system/Test/FeatureTestTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ protected function setupRequest(string $method, ?string $path = null): IncomingR

Services::injectMock('uri', $uri);

$request = Services::incommingrequest($config, false);
$request = Services::incomingrequest($config, false);

$request->setMethod($method);
$request->setProtocolVersion('1.1');
Expand Down

0 comments on commit 93001f1

Please sign in to comment.