Skip to content

Commit 4b36221

Browse files
committed
Add nullable annotation to Log_null
This was missing from #36.
1 parent ce01fbc commit 4b36221

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Log/null.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public function close(): bool
7272
* PEAR_LOG_NOTICE, PEAR_LOG_INFO, and PEAR_LOG_DEBUG.
7373
* @return boolean True on success or false on failure.
7474
*/
75-
public function log($message, int $priority = null): bool
75+
public function log($message, ?int $priority = null): bool
7676
{
7777
/* If a priority hasn't been specified, use the default value. */
7878
if ($priority === null) {

0 commit comments

Comments
 (0)