Skip to content

Commit b8a0ec7

Browse files
authored
Merge pull request #869 from BenMorel/not_found
Fix "could not found" => "could not find"
2 parents 0451396 + 95b4915 commit b8a0ec7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Request/Executor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public function getSchema(string $name = null): Schema
8787
}
8888

8989
if (!isset($this->schemas[$name])) {
90-
throw new NotFoundHttpException(sprintf('Could not found "%s" schema.', $name));
90+
throw new NotFoundHttpException(sprintf('Could not find "%s" schema.', $name));
9191
}
9292

9393
$schema = $this->schemas[$name];

tests/Functional/Controller/GraphControllerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ public function testEndpointActionWithInvalidVariables(): void
166166
public function testMultipleEndpointActionWithUnknownSchemaName(): void
167167
{
168168
$this->expectException(NotFoundHttpException::class);
169-
$this->expectExceptionMessage('Could not found "fake" schema.');
169+
$this->expectExceptionMessage('Could not find "fake" schema.');
170170
$client = static::createClient(['test_case' => 'connection']);
171171
$this->disableCatchExceptions($client);
172172

0 commit comments

Comments
 (0)