Skip to content

Commit 327c2bf

Browse files
committedSep 26, 2023
removed Nette\SmartObject
1 parent 53639e9 commit 327c2bf

8 files changed

+0
-16
lines changed
 

‎src/Caching/Cache.php

-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717
*/
1818
class Cache
1919
{
20-
use Nette\SmartObject;
21-
2220
/** dependency */
2321
public const
2422
Priority = 'priority',

‎src/Caching/OutputHelper.php

-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717
*/
1818
class OutputHelper
1919
{
20-
use Nette\SmartObject;
21-
2220
public array $dependencies = [];
2321
private ?Cache $cache;
2422
private mixed $key;

‎src/Caching/Storages/DevNullStorage.php

-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717
*/
1818
class DevNullStorage implements Nette\Caching\Storage
1919
{
20-
use Nette\SmartObject;
21-
2220
public function read(string $key): mixed
2321
{
2422
return null;

‎src/Caching/Storages/FileStorage.php

-2
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@
1818
*/
1919
class FileStorage implements Nette\Caching\Storage
2020
{
21-
use Nette\SmartObject;
22-
2321
/**
2422
* Atomic thread safe logic:
2523
*

‎src/Caching/Storages/MemcachedStorage.php

-2
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@
1818
*/
1919
class MemcachedStorage implements Nette\Caching\Storage, Nette\Caching\BulkReader
2020
{
21-
use Nette\SmartObject;
22-
2321
/** @internal cache structure */
2422
private const
2523
MetaCallbacks = 'callbacks',

‎src/Caching/Storages/MemoryStorage.php

-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717
*/
1818
class MemoryStorage implements Nette\Caching\Storage
1919
{
20-
use Nette\SmartObject;
21-
2220
private array $data = [];
2321

2422

‎src/Caching/Storages/SQLiteJournal.php

-2
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@
1818
*/
1919
class SQLiteJournal implements Journal
2020
{
21-
use Nette\SmartObject;
22-
2321
/** @string */
2422
private $path;
2523
private \PDO $pdo;

‎src/Caching/Storages/SQLiteStorage.php

-2
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@
1818
*/
1919
class SQLiteStorage implements Nette\Caching\Storage, Nette\Caching\BulkReader
2020
{
21-
use Nette\SmartObject;
22-
2321
private \PDO $pdo;
2422

2523

0 commit comments

Comments
 (0)
Failed to load comments.