Skip to content

Commit

Permalink
Remove unused assert and is_object function imports
Browse files Browse the repository at this point in the history
The assert and is_object function imports were removed from multiple files as they were not being utilized in the code. Cleaning up these imports helps reduce clutter and improve code readability. This change does not affect any functionality.
  • Loading branch information
koriym committed Nov 29, 2024
1 parent 8e263f5 commit 0c319ac
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions src/di/MultiBinding/LazyProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
use Ray\Di\InjectorInterface;
use Ray\Di\ProviderInterface;

use function assert;

/**
* @template T of ProviderInterface
*/
Expand Down
1 change: 0 additions & 1 deletion src/di/Name.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
use ReflectionMethod;
use ReflectionParameter;

use function assert;
use function class_exists;
use function explode;
use function get_class;
Expand Down
2 changes: 0 additions & 2 deletions tests/di/ArgumentsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
use ReflectionMethod;
use ReflectionParameter;

use function assert;
use function is_object;
use function spl_object_hash;

class ArgumentsTest extends TestCase
Expand Down
1 change: 0 additions & 1 deletion tests/di/GrapherTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

use function assert;
use function file_get_contents;
use function is_object;
use function is_string;
use function passthru;
use function property_exists;
Expand Down

0 comments on commit 0c319ac

Please sign in to comment.