@@ -152,7 +152,7 @@ |
||
152 | 152 | } |
153 | 153 | foreach ($params->export() as $name => $value) { |
154 | 154 | if ($is_file && $params->offsetGet($name) instanceof FileParameter) { |
155 | - $value = "@" . $this->normalizeFileParam($params->offsetGet($name)); |
|
155 | + $value = "@".$this->normalizeFileParam($params->offsetGet($name)); |
|
156 | 156 | } else { |
157 | 157 | $value = addcslashes( |
158 | 158 | strpos($value, "\n") !== false |
@@ -70,12 +70,12 @@ discard block |
||
70 | 70 | } |
71 | 71 | throw new \InvalidArgumentException( |
72 | 72 | 'Object ID must be an integer or integer string but was passed "' |
73 | - .(string)$id.'" ('.gettype($id).').'.(string)$extra_message); |
|
73 | + .(string) $id.'" ('.gettype($id).').'.(string) $extra_message); |
|
74 | 74 | } |
75 | 75 | $this->data[static::FIELD_ID] = $id; |
76 | 76 | |
77 | 77 | if (!is_null($parent_id)) { |
78 | - $warning_message = "\$parent_id as a parameter of constructor is being " . |
|
78 | + $warning_message = "\$parent_id as a parameter of constructor is being ". |
|
79 | 79 | "deprecated, please try not to use this in new code.\n"; |
80 | 80 | error_log($warning_message); |
81 | 81 | } |
@@ -235,7 +235,7 @@ discard block |
||
235 | 235 | array_merge($this->exportData(), $params)); |
236 | 236 | $this->clearHistory(); |
237 | 237 | $data = $response->getContent(); |
238 | - if (!isset($params['execution_options'])){ |
|
238 | + if (!isset($params['execution_options'])) { |
|
239 | 239 | $id = is_string($data) ? $data : $data[static::FIELD_ID]; |
240 | 240 | /** @var AbstractCrudObject $this */ |
241 | 241 | if ($this instanceof CanRedownloadInterface |