Skip to content

Commit d303ed5

Browse files
committed
Fix var-type for non-Psalm sniffers
1 parent 221c5ac commit d303ed5

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

lib/Controller/NegotiateController.php

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,22 +28,34 @@
2828
*/
2929
class NegotiateController
3030
{
31-
/** @var \SimpleSAML\Auth\Source|class-string */
31+
/**
32+
* @var \SimpleSAML\Auth\Source|string
33+
* @psalm-var \SimpleSAML\Auth\Source|class-string
34+
*/
3235
protected $authSource = Auth\Source::class;
3336

34-
/** @var \SimpleSAML\Auth\State|class-string */
37+
/**
38+
* @var \SimpleSAML\Auth\State|string
39+
* @psalm-var \SimpleSAML\Auth\State|class-string
40+
*/
3541
protected $authState = Auth\State::class;
3642

3743
/** @var \SimpleSAML\Configuration */
3844
protected $config;
3945

40-
/** @var \SimpleSAML\Logger|class-string */
46+
/**
47+
* @var \SimpleSAML\Logger|string
48+
* @psalm-var \SimpleSAML\Logger|class-string
49+
*/
4150
protected $logger = Logger::class;
4251

4352
/** @var \SimpleSAML\Metadata\MetaDataStorageHandler|null */
4453
protected $metadataHandler = null;
4554

46-
/** @var \SimpleSAML\Module|class-string */
55+
/**
56+
* @var \SimpleSAML\Module|string
57+
* @psalm-var \SimpleSAML\Module|class-string
58+
*/
4759
protected $module = Module::class;
4860

4961
/** @var \SimpleSAML\Session */

0 commit comments

Comments
 (0)