File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,14 +26,14 @@ class Explorer
2626
2727 private Conventions $ conventions ;
2828
29- private ?Nette \Caching \IStorage $ cacheStorage ;
29+ private ?Nette \Caching \Storage $ cacheStorage ;
3030
3131
3232 public function __construct (
3333 Connection $ connection ,
3434 Structure $ structure ,
3535 Conventions $ conventions = null ,
36- Nette \Caching \IStorage $ cacheStorage = null ,
36+ Nette \Caching \Storage $ cacheStorage = null ,
3737 ) {
3838 $ this ->connection = $ connection ;
3939 $ this ->structure = $ structure ;
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ class Structure implements IStructure
2828 protected bool $ isRebuilt = false ;
2929
3030
31- public function __construct (Connection $ connection , Nette \Caching \IStorage $ cacheStorage )
31+ public function __construct (Connection $ connection , Nette \Caching \Storage $ cacheStorage )
3232 {
3333 $ this ->connection = $ connection ;
3434 $ this ->cache = new Nette \Caching \Cache ($ cacheStorage , 'Nette.Database.Structure. ' . md5 ($ this ->connection ->getDsn ()));
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ public function __construct(
4242 string $ tableName ,
4343 string $ column ,
4444 Selection $ refTable ,
45- Nette \Caching \IStorage $ cacheStorage = null ,
45+ Nette \Caching \Storage $ cacheStorage = null ,
4646 ) {
4747 $ this ->refTable = $ refTable ;
4848 $ this ->column = $ column ;
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ public function __construct(
8282 Explorer $ explorer ,
8383 Conventions $ conventions ,
8484 string $ tableName ,
85- Nette \Caching \IStorage $ cacheStorage = null ,
85+ Nette \Caching \Storage $ cacheStorage = null ,
8686 ) {
8787 $ this ->explorer = $ this ->context = $ explorer ;
8888 $ this ->conventions = $ conventions ;
You can’t perform that action at this time.
0 commit comments