Skip to content

Commit 9120d0e

Browse files
committed
Fixed phpDoc comments
1 parent c26f3f5 commit 9120d0e

File tree

18 files changed

+18
-23
lines changed

18 files changed

+18
-23
lines changed

src/phpFastCache/Drivers/Apc/Driver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public function driverWrite(CacheItemInterface $item)
7575
}
7676

7777
/**
78-
* @param $key
78+
* @param string $key
7979
* @return mixed
8080
*/
8181
public function driverRead($key)

src/phpFastCache/Drivers/Apcu/Driver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public function driverWrite(CacheItemInterface $item)
7575
}
7676

7777
/**
78-
* @param $key
78+
* @param string $key
7979
* @return mixed
8080
*/
8181
public function driverRead($key)

src/phpFastCache/Drivers/Cookie/Driver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public function driverWrite(CacheItemInterface $item)
9090
}
9191

9292
/**
93-
* @param $key
93+
* @param string $key
9494
* @return bool|mixed|null
9595
* @throws \phpFastCache\Exceptions\phpFastCacheDriverException
9696
*/

src/phpFastCache/Drivers/Couchbase/Driver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public function driverWrite(CacheItemInterface $item)
8787
}
8888

8989
/**
90-
* @param $key
90+
* @param string $key
9191
* @return mixed
9292
*/
9393
public function driverRead($key)

src/phpFastCache/Drivers/Devfalse/Driver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public function driverWrite(CacheItemInterface $item)
6969
}
7070

7171
/**
72-
* @param $key
72+
* @param string $key
7373
* @return mixed
7474
*/
7575
public function driverRead($key)

src/phpFastCache/Drivers/Devnull/Driver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public function driverWrite(CacheItemInterface $item)
6969
}
7070

7171
/**
72-
* @param $key
72+
* @param string $key
7373
* @return mixed
7474
*/
7575
public function driverRead($key)

src/phpFastCache/Drivers/Devtrue/Driver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public function driverWrite(CacheItemInterface $item)
6969
}
7070

7171
/**
72-
* @param $key
72+
* @param string $key
7373
* @return mixed
7474
*/
7575
public function driverRead($key)

src/phpFastCache/Drivers/Files/Driver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ public function driverWrite(CacheItemInterface $item)
9898
}
9999

100100
/**
101-
* @param \Psr\Cache\CacheItemInterface $key
101+
* @param string $key
102102
* @return mixed
103103
* @throws \InvalidArgumentException
104104
*/

src/phpFastCache/Drivers/Leveldb/Driver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public function driverWrite(CacheItemInterface $item)
8989
}
9090

9191
/**
92-
* @param $key
92+
* @param string $key
9393
* @return mixed
9494
*/
9595
public function driverRead($key)

src/phpFastCache/Drivers/Memcache/Driver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public function driverWrite(CacheItemInterface $item)
8484
}
8585

8686
/**
87-
* @param $key
87+
* @param string $key
8888
* @return mixed
8989
*/
9090
public function driverRead($key)

0 commit comments

Comments
 (0)