|
@@ -122,12 +122,12 @@ |
|
|
block discarded – undo |
|
122
|
122
|
} |
|
123
|
123
|
|
|
124
|
124
|
/** |
|
125
|
|
- * Saves and returns the new or updated item |
|
126
|
|
- * |
|
127
|
|
- * @param \Aimeos\MShop\Common\Manager\Iface $manager Manager responsible for the items |
|
128
|
|
- * @param \stdClass $entry Object including "id" and "attributes" elements |
|
129
|
|
- * @return \Aimeos\MShop\Common\Item\Iface New or updated item |
|
130
|
|
- */ |
|
|
125
|
+ * Saves and returns the new or updated item |
|
|
126
|
+ * |
|
|
127
|
+ * @param \Aimeos\MShop\Common\Manager\Iface $manager Manager responsible for the items |
|
|
128
|
+ * @param \stdClass $entry Object including "id" and "attributes" elements |
|
|
129
|
+ * @return \Aimeos\MShop\Common\Item\Iface New or updated item |
|
|
130
|
+ */ |
|
131
|
131
|
protected function saveEntry( \Aimeos\MShop\Common\Manager\Iface $manager, \stdClass $entry ) : \Aimeos\MShop\Common\Item\Iface |
|
132
|
132
|
{ |
|
133
|
133
|
if( isset( $entry->id ) ) { |
Please login to merge, or discard this patch.