git.cweiske.de
/
shpub.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix CS
[shpub.git]
/
src
/
shpub
/
Request.php
diff --git
a/src/shpub/Request.php
b/src/shpub/Request.php
index 07138720c26cf7a4cc3f4139547d66a00746f69a..3614d5d69100ff4b1d5a92e25a6da58233068c44 100644
(file)
--- a/
src/shpub/Request.php
+++ b/
src/shpub/Request.php
@@
-143,8
+143,12
@@
class Request
}
/**
}
/**
+ * Add file upload
+ *
* @param string $fieldName name of file-upload field
* @param array $fileNames list of local file paths
* @param string $fieldName name of file-upload field
* @param array $fileNames list of local file paths
+ *
+ * @return void
*/
public function addUpload($fieldName, $fileNames)
{
*/
public function addUpload($fieldName, $fileNames)
{
@@
-180,6
+184,10
@@
class Request
}
/**
}
/**
+ * Execute the file upload
+ *
+ * @param string $fileName File path
+ *
* @return string URL at media endpoint
*/
public function uploadToMediaEndpoint($fileName)
* @return string URL at media endpoint
*/
public function uploadToMediaEndpoint($fileName)
@@
-230,6
+238,8
@@
class Request
*
* @param string $key Parameter name
* @param string|array $values One or multiple values
*
* @param string $key Parameter name
* @param string|array $values One or multiple values
+ *
+ * @return void
*/
public function addProperty($key, $values)
{
*/
public function addProperty($key, $values)
{