Skip to content

Commit e70deae

Browse files
committed
removed Nette\SmartObject usage
1 parent d4de346 commit e70deae

File tree

4 files changed

+0
-9
lines changed

4 files changed

+0
-9
lines changed

src/Utils/ArrayList.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@
2121
*/
2222
class ArrayList implements \ArrayAccess, \Countable, \IteratorAggregate
2323
{
24-
use Nette\SmartObject;
25-
2624
private array $list = [];
2725

2826

src/Utils/DateTime.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@
1818
*/
1919
class DateTime extends \DateTime implements \JsonSerializable
2020
{
21-
use Nette\SmartObject;
22-
2321
/** minute in seconds */
2422
public const MINUTE = 60;
2523

src/Utils/Finder.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@
2626
*/
2727
class Finder implements \IteratorAggregate
2828
{
29-
use Nette\SmartObject;
30-
3129
/** @var array<array{string, string}> */
3230
private array $find = [];
3331

src/Utils/Html.php

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

1010
namespace Nette\Utils;
1111

12-
use Nette;
1312
use Nette\HtmlStringable;
1413
use function array_merge, array_splice, count, explode, func_num_args, html_entity_decode, htmlspecialchars, http_build_query, implode, is_array, is_bool, is_float, is_object, is_string, json_encode, max, number_format, rtrim, str_contains, str_repeat, str_replace, strip_tags, strncmp, strpbrk, substr;
1514
use const ENT_HTML5, ENT_NOQUOTES, ENT_QUOTES;
@@ -234,8 +233,6 @@
234233
*/
235234
class Html implements \ArrayAccess, \Countable, \IteratorAggregate, HtmlStringable
236235
{
237-
use Nette\SmartObject;
238-
239236
/** @var array<string, mixed> element's attributes */
240237
public $attrs = [];
241238

0 commit comments

Comments
 (0)