Skip to content

Commit 564d6c4

Browse files
wouterjnicolas-grekas
authored andcommitted
Add missing PHPdoc return types
1 parent 1f88c47 commit 564d6c4

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

DataCollector/DoctrineDataCollector.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,9 @@ public function getConnections()
107107
return $this->data['connections'];
108108
}
109109

110+
/**
111+
* @return int
112+
*/
110113
public function getQueryCount()
111114
{
112115
return array_sum(array_map('count', $this->data['queries']));

DependencyInjection/Security/UserProvider/EntityFactory.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ public function create(ContainerBuilder $container, string $id, array $config)
4343
;
4444
}
4545

46+
/**
47+
* @return string
48+
*/
4649
public function getKey()
4750
{
4851
return $this->key;

0 commit comments

Comments
 (0)