File tree Expand file tree Collapse file tree 3 files changed +17
-5
lines changed Expand file tree Collapse file tree 3 files changed +17
-5
lines changed Original file line number Diff line number Diff line change 44
55abstract class AbstractCookieHandler implements CookieHandler
66{
7- public function canHandle (string $ name , string $ value = null ): bool
7+ /**
8+ * @param string $name
9+ * @param string|array|null $value
10+ *
11+ * @return bool
12+ */
13+ public function canHandle (string $ name , $ value = null ): bool
814 {
915 return true ;
1016 }
Original file line number Diff line number Diff line change @@ -7,12 +7,12 @@ interface CookieHandler
77 /**
88 * Check to see if the handler can handle a cookie
99 *
10- * @param string $name
11- * @param string|null $value
10+ * @param string $name
11+ * @param string|array| null $value
1212 *
1313 * @return bool
1414 */
15- public function canHandle (string $ name , string $ value = null ): bool ;
15+ public function canHandle (string $ name , $ value = null ): bool ;
1616
1717 /**
1818 * Decode a cookie name from transport
Original file line number Diff line number Diff line change 44
55class DefaultHandler extends AbstractCookieHandler
66{
7- public function canHandle (string $ name , string $ value = null ): bool
7+ /**
8+ * @param string $name
9+ * @param string|array|null $value
10+ *
11+ * @return bool
12+ */
13+ public function canHandle (string $ name , $ value = null ): bool
814 {
915 return true ;
1016 }
You can’t perform that action at this time.
0 commit comments