Skip to content

Commit 7428d8f

Browse files
committed
optimized global function calls
1 parent bd33920 commit 7428d8f

File tree

4 files changed

+5
-0
lines changed

4 files changed

+5
-0
lines changed

src/ComponentModel/ArrayAccess.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
namespace Nette\ComponentModel;
1111

1212
use Nette;
13+
use function is_int;
1314

1415

1516
/**

src/ComponentModel/Component.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
namespace Nette\ComponentModel;
1111

1212
use Nette;
13+
use function func_num_args, in_array, substr;
1314

1415

1516
/**

src/ComponentModel/Container.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
namespace Nette\ComponentModel;
1111

1212
use Nette;
13+
use function array_filter, array_keys, array_map, array_merge, assert, explode, func_get_args, get_class_methods, method_exists, preg_filter, preg_match, reset, ucfirst;
1314

1415

1516
/**

src/ComponentModel/RecursiveComponentIterator.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99

1010
namespace Nette\ComponentModel;
1111

12+
use function iterator_count;
13+
1214

1315
/**
1416
* Recursive component iterator. See Container::getComponents().

0 commit comments

Comments
 (0)