@@ -120,7 +120,7 @@ discard block |
||
120 | 120 | * |
121 | 121 | * @param integer|string $mediaWikiCacheType |
122 | 122 | * |
123 | - * @return Cache |
|
123 | + * @return null|\Onoi\Cache\Cache |
|
124 | 124 | */ |
125 | 125 | public function newMediaWikiCompositeCache( $mediaWikiCacheType = null ) { |
126 | 126 | |
@@ -143,7 +143,7 @@ discard block |
||
143 | 143 | * @param string|integer|null $cacheType |
144 | 144 | * @param integer $cacheLifetime |
145 | 145 | * |
146 | - * @return BlobStore |
|
146 | + * @return \Onoi\BlobStore\BlobStore |
|
147 | 147 | */ |
148 | 148 | public function newBlobStore( $namespace, $cacheType = null, $cacheLifetime = 0 ) { |
149 | 149 |
@@ -29,6 +29,9 @@ discard block |
||
29 | 29 | $this->registerCallbackHandlersByFactory( $callbackLoader ); |
30 | 30 | } |
31 | 31 | |
32 | + /** |
|
33 | + * @param CallbackLoader $callbackLoader |
|
34 | + */ |
|
32 | 35 | private function registerCallbackHandlers( $callbackLoader ) { |
33 | 36 | |
34 | 37 | $callbackLoader->registerExpectedReturnType( 'Settings', '\SMW\Settings' ); |
@@ -111,6 +114,9 @@ discard block |
||
111 | 114 | } ); |
112 | 115 | } |
113 | 116 | |
117 | + /** |
|
118 | + * @param CallbackLoader $callbackLoader |
|
119 | + */ |
|
114 | 120 | private function registerCallbackHandlersByFactory( $callbackLoader ) { |
115 | 121 | |
116 | 122 | $callbackLoader->registerCallback( 'BlobStore', function( $namespace, $cacheType = null, $ttl = 0 ) use ( $callbackLoader ) { |
@@ -5,7 +5,6 @@ |
||
5 | 5 | use SMW\DIProperty; |
6 | 6 | use SMW\DIWikiPage; |
7 | 7 | use SMW\SemanticData; |
8 | -use SMW\StoreFactory; |
|
9 | 8 | use SMWDITime as DITime; |
10 | 9 | use SMWSql3StubSemanticData as StubSemanticData; |
11 | 10 | use Title; |