1 | <?php |
||
24 | class LastRefreshDatabase extends LastRefreshAbstract |
||
25 | { |
||
26 | /** |
||
27 | * @var UsersTable |
||
28 | */ |
||
29 | protected $storage; |
||
30 | |||
31 | /** |
||
32 | * {@inheritdoc} |
||
33 | */ |
||
34 | public function __construct(CurrentUserInterface $CurrentUser, UsersTable $storage) |
||
38 | |||
39 | /** |
||
40 | * {@inheritDoc} |
||
41 | */ |
||
42 | protected function _get() |
||
60 | |||
61 | /** |
||
62 | * {@inheritDoc} |
||
63 | */ |
||
64 | protected function _set() |
||
69 | |||
70 | /** |
||
71 | * Set temporary marker |
||
72 | * |
||
73 | * @return void |
||
74 | */ |
||
75 | public function setMarker() |
||
79 | |||
80 | /** |
||
81 | * Persist to strorage |
||
82 | * |
||
83 | * @param DateTimeInterface $timestamp datetime string for last_refresh |
||
84 | * @return void |
||
85 | */ |
||
86 | protected function persist(DateTimeInterface $timestamp = null): void |
||
93 | } |
||
94 |
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..