Skip to content

Commit

Permalink
chore: Run lint + fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
pionl committed Apr 26, 2023
1 parent 77197b7 commit a2f308d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/Cache/Contracts/CacheMeServiceContract.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public function delete(
/**
* Adds a observe functions for created/deleted/updated and flushes the cache.
*
* @param array|Closure $tags If closure, model is passed to the closure. Closure should return an array
* @param array|Closure $tags If closure, model is passed to the closure. Closure should return an array
* of tags to use. If empty, no flush will be done.
* @param class-string<Model> $modelClass
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Cache/Services/CacheMeService.php
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ public function delete(
*
* @template T of Model
*
* @param array|Closure(T):void $tags If closure, model is passed to the closure. Closure should return an array
* @param array|Closure(T):void $tags If closure, model is passed to the closure. Closure should return an array
* of tags to use. If empty, no flush will be done.
* @param class-string<T> $modelClass
*/
Expand Down
4 changes: 2 additions & 2 deletions src/Console/Services/ScheduleServiceService.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ public function command(string $command, array $parameters = []): Event
/**
* Use for long tasks - ensurers that the command is unique.
*
* @param string $command Command signature or class
* @param array<string, string|float|int|bool> $keyedParameters You need to key the parameters by command signature
* @param string $command Command signature or class
* @param array<string, string|float|int|bool> $keyedParameters You need to key the parameters by command signature
*/
public function queueCommand(
string $command,
Expand Down
2 changes: 1 addition & 1 deletion tests/Feature/Providers/AbstractServiceProviderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@ public function testLoadViewsAndComponents(): void
->make(Factory::class);

$result = $viewFactory->make('Providers::layout');
$this->assertEquals('Renders inline component and class component', $result->render());
$this->assertEquals('Renders inline component' . PHP_EOL . ' and class component', $result->render());
}
}

0 comments on commit a2f308d

Please sign in to comment.