Skip to content

Commit 31554ad

Browse files
committed
Sync.
1 parent ff51511 commit 31554ad

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

src/Cache.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/**
3-
* A simple, unified cache handler (last modified: 2026.03.18).
3+
* A simple, unified cache handler (last modified: 2026.03.20).
44
*
55
* This file is a part of the "common classes package", utilised by a number of
66
* packages and projects, including CIDRAM and phpMussel.
@@ -272,7 +272,7 @@ public function __destruct()
272272
}
273273
$Locked = false;
274274
while (true) {
275-
if ($Locked = \flock($Handle, LOCK_EX | LOCK_NB) || (\time() - $Start) > self::FLOCK_TIMEOUT) {
275+
if ($Locked = \flock($Handle, \LOCK_EX | \LOCK_NB) || (\time() - $Start) > self::FLOCK_TIMEOUT) {
276276
break;
277277
}
278278
}

src/Request.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/**
3-
* Request handler (last modified: 2026.03.18).
3+
* Request handler (last modified: 2026.03.20).
44
*
55
* This file is a part of the "common classes package", utilised by a number of
66
* packages and projects, including CIDRAM and phpMussel.
@@ -105,10 +105,10 @@ public function __destruct()
105105
* The main request method.
106106
*
107107
* @param string $URI The resource to request.
108-
* @param mixed $Params If empty or omitted, \CURLOPT_POST is false. Otherwise,
109-
* \CURLOPT_POST is true, and the parameter is used to supply
110-
* \CURLOPT_POSTFIELDS. Normally an associative array of key-value pairs,
111-
* but can be any kind of value supported by \CURLOPT_POSTFIELDS. Optional.
108+
* @param mixed $Params If empty or omitted, CURLOPT_POST is false. Otherwise,
109+
* CURLOPT_POST is true, and the parameter is used to supply
110+
* CURLOPT_POSTFIELDS. Normally an associative array of key-value pairs,
111+
* but can be any kind of value supported by CURLOPT_POSTFIELDS. Optional.
112112
* @param int $Timeout An optional timeout limit.
113113
* @param array $Headers An optional array of headers to send with the request.
114114
* @param int $Depth Recursion depth of the current closure instance.

0 commit comments

Comments
 (0)