Skip to content

Commit

Permalink
Update code style
Browse files Browse the repository at this point in the history
  • Loading branch information
scheb committed Jul 12, 2022
1 parent 0b77d1a commit 77ee3aa
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion src/core/Model/Tombstone.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public function inscriptionEquals(Tombstone $tombstone): bool
private function findDate(array $arguments): ?string
{
foreach ($arguments as $argument) {
if (is_scalar($argument) && false !== strtotime((string) $argument)) {
if (\is_scalar($argument) && false !== strtotime((string) $argument)) {
return (string) $argument;
}
}
Expand Down
3 changes: 0 additions & 3 deletions src/logger/tombstone-function.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
declare(strict_types=1);

if (!function_exists('tombstone')) {
/**
* @param string ...$arguments
*/
function tombstone(string ...$arguments): void
{
$trace = \Scheb\Tombstone\Logger\Tracing\TraceProvider::getTraceHere();
Expand Down
3 changes: 0 additions & 3 deletions tests/Core/Model/TombstoneTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ class TombstoneTest extends TestCase
{
private const ROOT_DIR = '/path/to';

/**
* @param string ...$arguments
*/
private function createTombstone(string $file, string ...$arguments): Tombstone
{
$rootPath = new RootPath(self::ROOT_DIR);
Expand Down

0 comments on commit 77ee3aa

Please sign in to comment.