Completed
Push — master ( 191cd9...bb475a )
by
unknown
01:58 queued 19s
created

src/Model/HybridSessionDataObject.php (3 issues)

Upgrade to new PHP Analysis Engine

These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more

1
<?php
2
3
namespace SilverStripe\HybridSessions;
4
5
use SilverStripe\ORM\DataObject;
6
7
class HybridSessionDataObject extends DataObject
8
{
9
    private static $db = [
0 ignored issues
show
Comprehensibility introduced by
Consider using a different property name as you override a private property of the parent class.
Loading history...
10
        'SessionID' => 'Varchar(64)',
11
        'Expiry' => 'Int',
12
        'Data' => 'Text'
13
    ];
14
15
    private static $indexes = [
0 ignored issues
show
Comprehensibility introduced by
Consider using a different property name as you override a private property of the parent class.
Loading history...
16
        'SessionID' => [
17
            'type' => 'unique'
18
        ],
19
        'Expiry' => true
20
    ];
21
22
    private static $table_name = 'HybridSessionDataObject';
0 ignored issues
show
Comprehensibility introduced by
Consider using a different property name as you override a private property of the parent class.
Loading history...
23
}
24