mirror of
https://github.com/standardebooks/web.git
synced 2025-07-13 01:52:02 -04:00
PHPStan corrections
This commit is contained in:
parent
30cd00dbb7
commit
afab78af46
32 changed files with 77 additions and 40 deletions
|
@ -1,4 +1,6 @@
|
|||
<?
|
||||
use function Safe\session_start;
|
||||
|
||||
session_start();
|
||||
|
||||
$subscription = new NewsletterSubscription();
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
<?
|
||||
use function Safe\session_start;
|
||||
use function \Safe\session_unset;
|
||||
|
||||
session_start();
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
<?
|
||||
use function Safe\session_start;
|
||||
use function Safe\session_unset;
|
||||
|
||||
session_start();
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
<?
|
||||
use Ramsey\Uuid\Uuid;
|
||||
use function Safe\session_start;
|
||||
use function Safe\session_unset;
|
||||
|
||||
try{
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
// we don't want to reveal the vote ID to the web browser. It should only be sent via email
|
||||
// confirmation link.
|
||||
|
||||
use function Safe\session_start;
|
||||
use function \Safe\session_unset;
|
||||
|
||||
session_start();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue