@@ -156,7 +156,7 @@ |
||
| 156 | 156 | |
| 157 | 157 | if (is_array($records) && count($records) > 0) { |
| 158 | 158 | $ret = $this->buildPropertyMapArray($records, $propertyMap); |
| 159 | - array_walk($ret, function (&$record) { |
|
| 159 | + array_walk($ret, function(&$record) { |
|
| 160 | 160 | $key = 'modified'; |
| 161 | 161 | if (isset($record[$key])) { |
| 162 | 162 | $record[$key] = StaticFilter::execute($record[$key], 'DateTimeToTimestamp'); |
@@ -38,7 +38,7 @@ |
||
| 38 | 38 | */ |
| 39 | 39 | protected $messageTemplates |
| 40 | 40 | = [ |
| 41 | - self::INVALID_VALUE => '', // added dynamically |
|
| 41 | + self::INVALID_VALUE => '', // added dynamically |
|
| 42 | 42 | ]; |
| 43 | 43 | |
| 44 | 44 | /** |
@@ -22,8 +22,14 @@ discard block |
||
| 22 | 22 | |
| 23 | 23 | trait PostTrait |
| 24 | 24 | { |
| 25 | + /** |
|
| 26 | + * @param string $uri |
|
| 27 | + */ |
|
| 25 | 28 | abstract protected function uri($uri); |
| 26 | 29 | |
| 30 | + /** |
|
| 31 | + * @param string $method |
|
| 32 | + */ |
|
| 27 | 33 | abstract protected function request($method, $uri, $options); |
| 28 | 34 | |
| 29 | 35 | abstract protected function buildPropertyMapArray(array $array, PropertyMap $propertyMap); |
@@ -76,7 +82,7 @@ discard block |
||
| 76 | 82 | * |
| 77 | 83 | * @throws InvalidArgumentException |
| 78 | 84 | * |
| 79 | - * @return null|resource |
|
| 85 | + * @return string|null |
|
| 80 | 86 | */ |
| 81 | 87 | public function convertDocument($documentFilename, $returnFormat) |
| 82 | 88 | { |