Skip to content

Commit e9d53db

Browse files
committed
Update docblocks
1 parent b5a41a8 commit e9d53db

File tree

3 files changed

+11
-6
lines changed

3 files changed

+11
-6
lines changed

src/Event/FootprintListener.php

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class FootprintListener implements EventListenerInterface
1515
/**
1616
* Default configuration.
1717
*
18-
* @var array
18+
* @var array<string, mixed>
1919
*/
2020
protected $_defaultConfig = [
2121
'events' => [
@@ -38,7 +38,7 @@ class FootprintListener implements EventListenerInterface
3838
* Constructor.
3939
*
4040
* @param \Cake\Datasource\EntityInterface|null $user User entity.
41-
* @param array $config Configuration list.
41+
* @param array<string, mixed> $config Configuration list.
4242
*/
4343
public function __construct(?EntityInterface $user = null, array $config = [])
4444
{
@@ -47,7 +47,9 @@ public function __construct(?EntityInterface $user = null, array $config = [])
4747
}
4848

4949
/**
50-
* @inheritDoc
50+
* Events this listener is interested in.
51+
*
52+
* @return array<string, mixed>
5153
*/
5254
public function implementedEvents(): array
5355
{

src/Middleware/FootprintMiddleware.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class FootprintMiddleware implements MiddlewareInterface
1515
/**
1616
* Config
1717
*
18-
* @var array
18+
* @var array<string, mixed>
1919
*/
2020
protected $config = [
2121
'identityAttribute' => 'identity',
@@ -24,7 +24,7 @@ class FootprintMiddleware implements MiddlewareInterface
2424
/**
2525
* Constructor
2626
*
27-
* @param array $config Array of configuration settings.
27+
* @param array<string, mixed> $config Array of configuration settings.
2828
*/
2929
public function __construct(array $config = [])
3030
{

src/Model/Behavior/FootprintBehavior.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,10 @@ class FootprintBehavior extends Behavior
3434
];
3535

3636
/**
37-
* @inheritDoc
37+
* Intialize the behavior.
38+
*
39+
* @param array<string, mixeD> $config Config options.
40+
* @return void
3841
*/
3942
public function initialize(array $config): void
4043
{

0 commit comments

Comments
 (0)