Skip to content
This repository has been archived by the owner on Jan 1, 2023. It is now read-only.

Commit

Permalink
MINOR: keeping writing consistent 'Instanciator' -> 'Instantiator'
Browse files Browse the repository at this point in the history
  • Loading branch information
spekulatius committed Sep 27, 2020
1 parent 3bd227b commit 1ed0645
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions tests/PuphpeteerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,10 +127,10 @@ public function can_intercept_requests()
public function check_all_resources_are_supported()
{
$incompleteResources = [];
$resourceInstanciator = new ResourceInstanciator($this->browserOptions, $this->url);
$resourceInstantiator = new ResourceInstantiator($this->browserOptions, $this->url);

foreach ($resourceInstanciator->getResourceNames() as $name) {
$resource = $resourceInstanciator->{$name}(new Puppeteer, $this->browserOptions);
foreach ($resourceInstantiator->getResourceNames() as $name) {
$resource = $resourceInstantiator->{$name}(new Puppeteer, $this->browserOptions);

if ($resource instanceof UntestableResource) {
$incompleteResources[$name] = $resource;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use Nesk\Rialto\Data\JsFunction;

class ResourceInstanciator
class ResourceInstantiator
{
protected $resources = [];

Expand Down

0 comments on commit 1ed0645

Please sign in to comment.