diff --git a/core/lib/Drupal/Core/EventSubscriber/HttpExceptionSubscriberBase.php b/core/lib/Drupal/Core/EventSubscriber/HttpExceptionSubscriberBase.php index 6fcacc9443ca7bf9c7b8eb149648e252479b5f9c..13685f0d7f155c95fd6c0a7be7af95b4a83d644f 100644 --- a/core/lib/Drupal/Core/EventSubscriber/HttpExceptionSubscriberBase.php +++ b/core/lib/Drupal/Core/EventSubscriber/HttpExceptionSubscriberBase.php @@ -56,7 +56,7 @@ abstract class HttpExceptionSubscriberBase implements EventSubscriberInterface { * * @return array * An indexed array of the format machine names that this subscriber will - * attempt ot process,such as "html" or "json". Returning an empty array + * attempt to process, such as "html" or "json". Returning an empty array * will apply to all formats. * * @see \Symfony\Component\HttpFoundation\Request diff --git a/core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/StackedKernelPassTest.php b/core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/StackedKernelPassTest.php index 5bd60012810cd25405882698c11ebd86817b58e5..cbcae164d886819cde3394e49967fc96f72aea8a 100644 --- a/core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/StackedKernelPassTest.php +++ b/core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/StackedKernelPassTest.php @@ -98,7 +98,7 @@ public function testProcessWithHttpKernel() { * Creates a middleware definition. * * @param bool $tag - * Whether ot not to set the http_middleware tag. + * Whether or not to set the http_middleware tag. * @param int $priority * The priority to be used for the tag. *