Skip to content

Commit

Permalink
fix coding style advice from build
Browse files Browse the repository at this point in the history
  • Loading branch information
reinfi committed Jul 24, 2019
1 parent 9465dd7 commit ca81ef1
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/Version/VersionService.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ public function create($version)
$ret = $this->exec($this->uri, $data, 'POST');

return $this->json_mapper->map(
json_decode($ret), new Version()
json_decode($ret),
new Version()
);
}

Expand Down Expand Up @@ -66,7 +67,8 @@ public function get($id)
$this->log->info('Result='.$ret);

return $this->json_mapper->map(
json_decode($ret), new Version()
json_decode($ret),
new Version()
);
}

Expand Down Expand Up @@ -96,7 +98,8 @@ public function update(Version $version)
$ret = $this->exec($this->uri.'/'.$version->id, $data, 'PUT');

return $this->json_mapper->map(
json_decode($ret), new Version()
json_decode($ret),
new Version()
);
}

Expand Down

0 comments on commit ca81ef1

Please sign in to comment.