Skip to content

Commit

Permalink
Merge pull request #26 from pechondra/replace-strict-object-for-smart…
Browse files Browse the repository at this point in the history
…-object

Replace Kdyby\StrictObject for Nette\SmartObject
  • Loading branch information
Spamercz authored May 25, 2021
2 parents 5888873 + 0788fca commit 419994c
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"doctrine/cache": "^1.8.0",
"nette/di": "^3.0",
"nette/caching": "^3.0",
"kdyby/strict-objects": "^2.0"
"nette/utils": "~3.1.0"
},
"require-dev": {
"doctrine/orm": "^2.6.3",
Expand Down
2 changes: 1 addition & 1 deletion src/Cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
class Cache extends \Doctrine\Common\Cache\CacheProvider
{

use \Kdyby\StrictObjects\Scream;
use \Nette\SmartObject;

public const CACHE_NS = 'Doctrine';

Expand Down
2 changes: 1 addition & 1 deletion src/DI/Helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
class Helpers
{

use \Kdyby\StrictObjects\Scream;
use \Nette\SmartObject;

/**
* @var string[]
Expand Down
2 changes: 1 addition & 1 deletion src/MemcacheCache.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
class MemcacheCache extends \Doctrine\Common\Cache\MemcacheCache
{

use \Kdyby\StrictObjects\Scream;
use \Nette\SmartObject;

public function __construct(?Memcache $memcache = NULL)
{
Expand Down
2 changes: 1 addition & 1 deletion src/MemcachedCache.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
class MemcachedCache extends \Doctrine\Common\Cache\MemcachedCache
{

use \Kdyby\StrictObjects\Scream;
use \Nette\SmartObject;

public function __construct(?Memcached $memcached = NULL)
{
Expand Down
2 changes: 1 addition & 1 deletion src/RedisCache.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
class RedisCache extends \Doctrine\Common\Cache\RedisCache
{

use \Kdyby\StrictObjects\Scream;
use \Nette\SmartObject;

public function __construct(?Redis $redis = NULL)
{
Expand Down
2 changes: 1 addition & 1 deletion src/ReversedStorageDecorator.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
class ReversedStorageDecorator implements \Nette\Caching\IStorage
{

use \Kdyby\StrictObjects\Scream;
use \Nette\SmartObject;

/**
* @var \Doctrine\Common\Cache\CacheProvider
Expand Down

0 comments on commit 419994c

Please # to comment.