File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ public function registerStorage(StorageInterface $storage): void {
40
40
* @throws StorageRegistryException
41
41
*/
42
42
public function getStorageByIdentifier ($ identifier ): StorageInterface {
43
- if (isset ($ this ->registeredStorageServicesByIdentifiers [$ identifier ])) {
43
+ if (! isset ($ this ->registeredStorageServicesByIdentifiers [$ identifier ])) {
44
44
throw new StorageRegistryException ("Storage {$ identifier } has not been found! " );
45
45
}
46
46
@@ -53,7 +53,7 @@ public function getStorageByIdentifier($identifier): StorageInterface {
53
53
* @throws StorageRegistryException
54
54
*/
55
55
public function getStorageByClass ($ class ): StorageInterface {
56
- if (isset ($ this ->registeredStorageServicesByClass [$ class ])) {
56
+ if (! isset ($ this ->registeredStorageServicesByClass [$ class ])) {
57
57
throw new StorageRegistryException ("Storage {$ class } has not been found! " );
58
58
}
59
59
You can’t perform that action at this time.
0 commit comments