Commit 3b24976e authored by Georgios Tsakalos's avatar Georgios Tsakalos
Browse files

fix typo bug

parent 5fd1c7da
...@@ -25,7 +25,7 @@ class PersistSoftware ...@@ -25,7 +25,7 @@ class PersistSoftware
public function __construct(SoftwareServiceInterface $softwareService) public function __construct(SoftwareServiceInterface $softwareService)
{ {
$this->softwareService = $softwrareService; $this->softwareService = $softwareService;
} }
public function __invoke(Request $req, Response $res, array $args = []) public function __invoke(Request $req, Response $res, array $args = [])
...@@ -38,7 +38,7 @@ class PersistSoftware ...@@ -38,7 +38,7 @@ class PersistSoftware
$params['school_id'] = $school->id; $params['school_id'] = $school->id;
$id = $params['id']; $id = $params['id'];
unset($params['id']); unset($params['id']);
error_log(print_r($this->softwareService, TRUE));
try { try {
if ($id) { if ($id) {
$software= $this->softwareService->updateSoftware($params, $id); $software= $this->softwareService->updateSoftware($params, $id);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment