|
@@ -59,7 +59,7 @@ discard block |
|
|
block discarded – undo |
|
59
|
59
|
$this->data[static::FIELD_ID] = $id; |
|
60
|
60
|
|
|
61
|
61
|
if (!is_null($parent_id)) { |
|
62
|
|
- $warning_message = "\$parent_id as a parameter of constructor is being " . |
|
|
62
|
+ $warning_message = "\$parent_id as a parameter of constructor is being ". |
|
63
|
63
|
"deprecated, please try not to use this in new code.\n"; |
|
64
|
64
|
trigger_error($warning_message, E_USER_DEPRECATED); |
|
65
|
65
|
} |
|
@@ -219,7 +219,7 @@ discard block |
|
|
block discarded – undo |
|
219
|
219
|
array_merge($this->exportData(), $params)); |
|
220
|
220
|
$this->clearHistory(); |
|
221
|
221
|
$data = $response->getContent(); |
|
222
|
|
- if (!isset($params['execution_options'])){ |
|
|
222
|
+ if (!isset($params['execution_options'])) { |
|
223
|
223
|
$id = is_string($data) ? $data : $data[static::FIELD_ID]; |
|
224
|
224
|
/** @var AbstractCrudObject $this */ |
|
225
|
225
|
if ($this instanceof CanRedownloadInterface |
Please login to merge, or discard this patch.