Skip to content

Commit 57e4046

Browse files
committed
type fixes
1 parent ff40784 commit 57e4046

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Caching/OutputHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class OutputHelper
2020
/** @var array */
2121
public $dependencies;
2222

23-
/** @var Cache */
23+
/** @var Cache|null */
2424
private $cache;
2525

2626
/** @var string */

src/Caching/Storages/FileStorage.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public function read($key)
100100
* @param array
101101
* @return bool
102102
*/
103-
private function verify($meta)
103+
private function verify(array $meta)
104104
{
105105
do {
106106
if (!empty($meta[self::META_DELTA])) {
@@ -354,7 +354,7 @@ protected function readMetaAndLock($file, $lock)
354354
* @param array
355355
* @return mixed
356356
*/
357-
protected function readData($meta)
357+
protected function readData(array $meta)
358358
{
359359
$data = stream_get_contents($meta[self::HANDLE]);
360360
flock($meta[self::HANDLE], LOCK_UN);

0 commit comments

Comments
 (0)