Skip to content

Commit

Permalink
style(php-cs-fixer): lint php files and fix coding standards
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions authored and github-actions[bot] committed May 31, 2024
1 parent c15e5fe commit f834bce
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
5 changes: 1 addition & 4 deletions src/Service/Container.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,7 @@ public function make(string $class, array $arguments = []): object
try {
$result = $this->injector->make($class, \array_merge((array) $binding, $arguments));
} catch (\Throwable $e) {
throw new class(
"Unable to create object of class $class.",
previous: $e,
) extends \RuntimeException implements NotFoundExceptionInterface {};
throw new class("Unable to create object of class $class.", previous: $e, ) extends \RuntimeException implements NotFoundExceptionInterface {};
}
}

Expand Down
1 change: 0 additions & 1 deletion src/Service/FilesObserver.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
use Buggregator\Trap\Proto\Buffer;
use Buggregator\Trap\Proto\Frame;
use Buggregator\Trap\Service\FilesObserver\Handler;
use Yiisoft\Injector\Injector;

/**
* The service orchestrates the process of scanning files in directories.
Expand Down

0 comments on commit f834bce

Please sign in to comment.