Skip to content

Commit

Permalink
removed Nette\SmartObject
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Sep 26, 2023
1 parent 53639e9 commit 327c2bf
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 16 deletions.
2 changes: 0 additions & 2 deletions src/Caching/Cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@
*/
class Cache
{
use Nette\SmartObject;

/** dependency */
public const
Priority = 'priority',
Expand Down
2 changes: 0 additions & 2 deletions src/Caching/OutputHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@
*/
class OutputHelper
{
use Nette\SmartObject;

public array $dependencies = [];
private ?Cache $cache;
private mixed $key;
Expand Down
2 changes: 0 additions & 2 deletions src/Caching/Storages/DevNullStorage.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@
*/
class DevNullStorage implements Nette\Caching\Storage
{
use Nette\SmartObject;

public function read(string $key): mixed
{
return null;
Expand Down
2 changes: 0 additions & 2 deletions src/Caching/Storages/FileStorage.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@
*/
class FileStorage implements Nette\Caching\Storage
{
use Nette\SmartObject;

/**
* Atomic thread safe logic:
*
Expand Down
2 changes: 0 additions & 2 deletions src/Caching/Storages/MemcachedStorage.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@
*/
class MemcachedStorage implements Nette\Caching\Storage, Nette\Caching\BulkReader
{
use Nette\SmartObject;

/** @internal cache structure */
private const
MetaCallbacks = 'callbacks',
Expand Down
2 changes: 0 additions & 2 deletions src/Caching/Storages/MemoryStorage.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@
*/
class MemoryStorage implements Nette\Caching\Storage
{
use Nette\SmartObject;

private array $data = [];


Expand Down
2 changes: 0 additions & 2 deletions src/Caching/Storages/SQLiteJournal.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@
*/
class SQLiteJournal implements Journal
{
use Nette\SmartObject;

/** @string */
private $path;
private \PDO $pdo;
Expand Down
2 changes: 0 additions & 2 deletions src/Caching/Storages/SQLiteStorage.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@
*/
class SQLiteStorage implements Nette\Caching\Storage, Nette\Caching\BulkReader
{
use Nette\SmartObject;

private \PDO $pdo;


Expand Down

0 comments on commit 327c2bf

Please sign in to comment.