Skip to content

Commit

Permalink
Correct language
Browse files Browse the repository at this point in the history
  • Loading branch information
emptynick committed Sep 5, 2019
1 parent 6f2d661 commit 9c31053
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/Commands/DisableCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ public function handle()

$this->hooks->disable($name);

$this->info("Hook [{$name}] have been disabled.");
$this->info("Hook [{$name}] has been disabled.");
}
}
2 changes: 1 addition & 1 deletion src/Commands/EnableCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ public function handle()

$this->hooks->enable($name);

$this->info("Hook [{$name}] have been enabled.");
$this->info("Hook [{$name}] has been enabled.");
}
}
4 changes: 2 additions & 2 deletions src/Commands/InstallCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ public function handle()
if ($this->option('enable')) {
$this->hooks->enable($name);

$this->info("Hook [{$name}] have been installed and enabled.");
$this->info("Hook [{$name}] has been installed and enabled.");
} else {
$this->info("Hook [{$name}] have been installed.");
$this->info("Hook [{$name}] has been installed.");
}
}
}
2 changes: 1 addition & 1 deletion src/Commands/MakeCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ public function handle()

$this->hooks->make($name);

$this->info("Hook [{$name}] have been made.");
$this->info("Hook [{$name}] has been made.");
}
}
2 changes: 1 addition & 1 deletion src/Commands/UninstallCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ public function handle()
!$this->option('no-unpublish')
);

$this->info("Hook [{$name}] have been uninstalled.");
$this->info("Hook [{$name}] has been uninstalled.");
}
}
2 changes: 1 addition & 1 deletion src/Commands/UpdateCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public function handle()
);

return $updated
? $this->info("Hook [{$name}] have been updated!")
? $this->info("Hook [{$name}] has been updated!")
: $this->info('Nothing to update.');
}
}
6 changes: 3 additions & 3 deletions src/Hooks.php
Original file line number Diff line number Diff line change
Expand Up @@ -508,9 +508,9 @@ protected function makeStubFiles($name)
{
$replaces = [
'kebab-case' => $name,
'snake_case' => snake_case(str_replace('-', '_', $name)),
'camelCase' => camel_case(str_replace('-', '_', $name)),
'StudlyCase' => studly_case(str_replace('-', '_', $name)),
'snake_case' => Str::snake(str_replace('-', '_', $name)),
'camelCase' => Str::camel(str_replace('-', '_', $name)),
'StudlyCase' => Str::studly(str_replace('-', '_', $name)),
'MIGRATION_DATE_TIME' => $this->migrationDateTimeString(),
];

Expand Down

0 comments on commit 9c31053

Please sign in to comment.