Skip to content

Commit

Permalink
docs: fix PHPDocs
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjis committed Feb 15, 2022
1 parent 5a93531 commit 96a8407
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 22 deletions.
20 changes: 0 additions & 20 deletions phpstan-baseline.neon.dist
Original file line number Diff line number Diff line change
Expand Up @@ -755,26 +755,6 @@ parameters:
count: 1
path: system/Session/Handlers/DatabaseHandler.php

-
message: "#^Property CodeIgniter\\\\Session\\\\Handlers\\\\BaseHandler\\:\\:\\$sessionID \\(string\\) in isset\\(\\) is not nullable\\.$#"
count: 1
path: system/Session/Handlers/DatabaseHandler.php

-
message: "#^Property CodeIgniter\\\\Session\\\\Handlers\\\\BaseHandler\\:\\:\\$sessionID \\(string\\) in isset\\(\\) is not nullable\\.$#"
count: 1
path: system/Session/Handlers/FileHandler.php

-
message: "#^Property CodeIgniter\\\\Session\\\\Handlers\\\\BaseHandler\\:\\:\\$sessionID \\(string\\) in isset\\(\\) is not nullable\\.$#"
count: 1
path: system/Session/Handlers/MemcachedHandler.php

-
message: "#^Property CodeIgniter\\\\Session\\\\Handlers\\\\BaseHandler\\:\\:\\$sessionID \\(string\\) in isset\\(\\) is not nullable\\.$#"
count: 1
path: system/Session/Handlers/RedisHandler.php

-
message: "#^Strict comparison using \\=\\=\\= between string and true will always evaluate to false\\.$#"
count: 1
Expand Down
2 changes: 1 addition & 1 deletion system/Database/BaseConnection.php
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ public function getPrefix(): string
}

/**
* The name of the platform in use (MySQLi, mssql, etc)
* The name of the platform in use (MySQLi, Postgre, SQLite3, OCI8, etc)
*/
public function getPlatform(): string
{
Expand Down
2 changes: 1 addition & 1 deletion system/Session/Handlers/BaseHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ abstract class BaseHandler implements SessionHandlerInterface
/**
* Current session ID
*
* @var string
* @var string|null
*/
protected $sessionID;

Expand Down

0 comments on commit 96a8407

Please sign in to comment.