Skip to content

Commit

Permalink
clean(ZMSKVR-125): tpying and duplicate code line
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Fink authored and Thomas Fink committed Feb 14, 2025
1 parent c7a0e24 commit a6bd508
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,6 @@ public static function thinnedProcessToProcess(ThinnedProcess $thinnedProcess):
$scope->provider->source = \App::$source_name;
}
$processEntity->scope = $scope;
$processEntity->scope = $scope;
if (isset($thinnedProcess->status)) {
$processEntity->queue = new \stdClass();
$processEntity->queue->status = $thinnedProcess->status;
Expand Down
4 changes: 2 additions & 2 deletions zmsclient/src/Zmsclient/Http.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ class Http

/**
*
* @param Psr7\Response $client
* @param ClientInterface $client
*/
public function __construct($baseUrl, Psr7\Response $client = null)
public function __construct($baseUrl, ClientInterface $client = null)
{
$this->http_baseurl = parse_url($baseUrl, PHP_URL_PATH) ?? '';
$this->uri = new Psr7\Uri();
Expand Down

0 comments on commit a6bd508

Please sign in to comment.