Skip to content

Commit 677dabb

Browse files
committed
remove warnings
Signed-off-by: Travis Glenn Hansen <travisghansen@yahoo.com>
1 parent baa5012 commit 677dabb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/KubernetesClient/Client.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ public function request($endpoint, $verb = 'GET', $params = [], $data = null)
167167
* @param \Closure $callback
168168
* @return Watch
169169
*/
170-
public function createWatch($endpoint, $params = [], \Closure $callback)
170+
public function createWatch($endpoint, $params, \Closure $callback)
171171
{
172172
return new Watch($this, $endpoint, $params, $callback);
173173
}

src/KubernetesClient/Watch.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ class Watch implements WatchIteratorInterface
134134
* @param array $params
135135
* @param \Closure $callback
136136
*/
137-
public function __construct(Client $client, $endpoint, $params = [], \Closure $callback)
137+
public function __construct(Client $client, $endpoint, $params, \Closure $callback)
138138
{
139139
$this->client = $client;
140140
$this->endpoint = $endpoint;

0 commit comments

Comments
 (0)