Skip to content

Commit 2485dfd

Browse files
committed
coding style: fixed spaces & use statements order
1 parent 9b1ebe3 commit 2485dfd

34 files changed

+34
-40
lines changed

src/Bridges/CacheDI/CacheExtension.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,4 @@ public function loadConfiguration()
4646
$builder->addAlias('cacheStorage', $this->prefix('storage'));
4747
}
4848
}
49-
5049
}

src/Bridges/CacheLatte/CacheMacro.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99

1010
namespace Nette\Bridges\CacheLatte;
1111

12+
use Latte;
1213
use Nette;
1314
use Nette\Caching\Cache;
14-
use Latte;
1515

1616

1717
/**
@@ -133,5 +133,4 @@ public static function endCache(array &$parents, array $args = NULL): void
133133
$helper->end();
134134
}
135135
}
136-
137136
}

src/Caching/Cache.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,5 +347,4 @@ private static function checkFile(string $file, ?int $time): bool
347347
{
348348
return @filemtime($file) == $time; // @ - stat may fail
349349
}
350-
351350
}

src/Caching/IBulkReader.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,4 @@ interface IBulkReader
2121
* @return array key => value pairs, missing items are omitted
2222
*/
2323
function bulkRead(array $keys): array;
24-
2524
}

src/Caching/IStorage.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,4 @@ function remove(string $key): void;
4141
* Removes items from the cache by conditions.
4242
*/
4343
function clean(array $conditions): void;
44-
4544
}

src/Caching/OutputHelper.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,4 @@ public function end(array $dependencies = NULL): void
4848
$this->cache->save($this->key, ob_get_flush(), (array) $dependencies + (array) $this->dependencies);
4949
$this->cache = NULL;
5050
}
51-
5251
}

src/Caching/Storages/DevNullStorage.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,5 +58,4 @@ public function remove(string $key): void
5858
public function clean(array $conditions): void
5959
{
6060
}
61-
6261
}

src/Caching/Storages/FileStorage.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,5 +381,4 @@ private static function delete(string $file, $handle = NULL): void
381381
@unlink($file); // @ - file may not already exist
382382
}
383383
}
384-
385384
}

src/Caching/Storages/IJournal.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,9 @@ interface IJournal
2121
*/
2222
function write(string $key, array $dependencies): void;
2323

24-
2524
/**
2625
* Cleans entries from journal.
2726
* @return array|NULL of removed items or NULL when performing a full cleanup
2827
*/
2928
function clean(array $conditions): ?array;
30-
3129
}

src/Caching/Storages/MemoryStorage.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,5 +68,4 @@ public function clean(array $conditions): void
6868
$this->data = [];
6969
}
7070
}
71-
7271
}

0 commit comments

Comments
 (0)