@@ -100,7 +100,7 @@ |
||
100 | 100 | } |
101 | 101 | |
102 | 102 | /** |
103 | - * @param $id |
|
103 | + * @param string $id |
|
104 | 104 | * |
105 | 105 | * @return mixed |
106 | 106 | */ |
@@ -63,10 +63,10 @@ |
||
63 | 63 | $articleId = $this->articleRes->getIdByData($article); |
64 | 64 | if ($articleId > 0) { |
65 | 65 | $this->articleRes->update($articleId, $article); |
66 | - $status['updated'] ++; |
|
66 | + $status['updated']++; |
|
67 | 67 | } else { |
68 | 68 | $this->articleRes->create($article); |
69 | - $status['created'] ++; |
|
69 | + $status['created']++; |
|
70 | 70 | } |
71 | 71 | } catch (\Exception $e) { |
72 | 72 | $status['errors'] .= $orderNumber . ' - ' . $e->getMessage() . ' - ' . $e->getTraceAsString() . "\n\r"; |