Skip to content

Commit 6a287b2

Browse files
committed
fixed types in phpdocs
1 parent 60ea4e7 commit 6a287b2

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Exception/TooManyRequestsHttpException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class TooManyRequestsHttpException extends HttpException
2222
/**
2323
* Constructor.
2424
*
25-
* @param int |string $retryAfter The number of seconds or HTTP-date after which the request may be retried
25+
* @param int|string $retryAfter The number of seconds or HTTP-date after which the request may be retried
2626
* @param string $message The internal exception message
2727
* @param \Exception $previous The previous exception
2828
* @param int $code The internal exception code

Profiler/MongoDbProfilerStorage.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public function write(Profile $profile)
8787

8888
$result = $this->getMongo()->update(array('_id' => $profile->getToken()), array_filter($record, function ($v) { return !empty($v); }), array('upsert' => true));
8989

90-
return (boolean) (isset($result['ok']) ? $result['ok'] : $result);
90+
return (bool) (isset($result['ok']) ? $result['ok'] : $result);
9191
}
9292

9393
/**

Tests/Profiler/Mock/MemcacheMock.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ public function replace($key, $var, $flag = null, $expire = null)
168168
* Retrieve item from the server.
169169
*
170170
* @param string|array $key
171-
* @param int |array $flags
171+
* @param int|array $flags
172172
*
173173
* @return mixed
174174
*/

0 commit comments

Comments
 (0)