Skip to content

Commit 2492720

Browse files
authored
Merge pull request #142 from stof/patch-1
add phpdoc on the overriden getCommand method
2 parents 581d1bc + 2da426e commit 2492720

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/Client/KeenIOClient.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
namespace KeenIO\Client;
44

5+
use GuzzleHttp\Command\CommandInterface;
56
use GuzzleHttp\Command\Guzzle\GuzzleClient;
67
use GuzzleHttp\Command\Guzzle\Description;
78
use GuzzleHttp\Client;
@@ -100,6 +101,12 @@ public function __call($method, array $args)
100101
return parent::__call($method, array($this->combineEventCollectionArgs($args)));
101102
}
102103

104+
/**
105+
* @param string $name
106+
* @param array<string, mixed> $args
107+
*
108+
* @return CommandInterface
109+
*/
103110
public function getCommand($name, array $params = [])
104111
{
105112
$params['projectId'] = $this->getConfig('projectId');

0 commit comments

Comments
 (0)