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

Commit

Permalink
Apply fixes from StyleCI (#16)
Browse files Browse the repository at this point in the history
[ci skip] [skip ci]
  • Loading branch information
faustbrian committed Feb 12, 2018
1 parent 833135e commit 075c477
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/AbstractServiceProvider.php
Expand Up @@ -122,7 +122,7 @@ protected function loadTranslations()

protected function loadRoutes()
{
if (! $this->app->routesAreCached()) {
if (!$this->app->routesAreCached()) {
require $this->app['loader.routes']->getFileList($this->packagePath);
}
}
Expand Down Expand Up @@ -287,7 +287,7 @@ protected function getFileName($file)
{
$file = basename($file);

if (! ends_with($file, '.php')) {
if (!ends_with($file, '.php')) {
$file = $file.'.php';
}

Expand Down
2 changes: 1 addition & 1 deletion src/Publisher/ConfigPublisher.php
Expand Up @@ -40,7 +40,7 @@ protected function getSource($packagePath): array
]);

// if the destination doesn't exist we can add the file to the queue
if (! $this->files->exists($destinationPath)) {
if (!$this->files->exists($destinationPath)) {
$paths[$file] = $destinationPath;
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/Publisher/MigrationPublisher.php
Expand Up @@ -38,7 +38,7 @@ protected function getSource($packagePath): array
// iterate through all files
foreach ($files as $file) {
// if the destination doesn't exist we can add the file to the queue
if (! class_exists($this->getClassFromFile($file))) {
if (!class_exists($this->getClassFromFile($file))) {
$paths[$file] = $this->getDestinationPath('migrations', [
date('Y_m_d_His', time()), $this->getFileName($file),
]);
Expand Down
2 changes: 1 addition & 1 deletion src/Publisher/Publisher.php
Expand Up @@ -63,7 +63,7 @@ protected function getFileName($file): string
{
$file = basename($file);

if (! ends_with($file, '.php')) {
if (!ends_with($file, '.php')) {
$file = $file.'.php';
}

Expand Down
2 changes: 1 addition & 1 deletion src/Publisher/SeedPublisher.php
Expand Up @@ -41,7 +41,7 @@ protected function getSource($packagePath): array
]);

// if the destination doesn't exist we can add the file to the queue
if (! $this->files->exists($destinationPath)) {
if (!$this->files->exists($destinationPath)) {
$paths[$file] = $destinationPath;
}
}
Expand Down

0 comments on commit 075c477

Please sign in to comment.