Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
1 change: 1 addition & 0 deletions src/ClassFileLocator.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ class ClassFileLocator extends FilterIterator
* instance.
*
* @param string|DirectoryIterator $dirOrIterator
* @throws Exception\InvalidArgumentException
*/
public function __construct($dirOrIterator = '.')
{
Expand Down
5 changes: 3 additions & 2 deletions src/Transfer/Adapter/AbstractAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -885,8 +885,8 @@ public function clearFilters()
/**
* Retrieves the filename of transferred files.
*
* @param string $fileelement (Optional) Element to return the filename for
* @param boolean $path (Optional) Should the path also be returned ?
* @param string $file (Optional) Element to return the filename for
* @param boolean $path (Optional) Should the path also be returned ?
* @return string|array
*/
public function getFileName($file = null, $path = true)
Expand Down Expand Up @@ -967,6 +967,7 @@ public function setDestination($destination, $files = null)
* Retrieve destination directory value
*
* @param null|string|array $files
* @throws Exception\InvalidArgumentException
* @return null|string|array
*/
public function getDestination($files = null)
Expand Down
9 changes: 5 additions & 4 deletions src/Transfer/Adapter/Http.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ class Http extends AbstractAdapter
* Constructor for Http File Transfers
*
* @param array $options OPTIONAL Options to set
* @throws Exception\PhpEnvironmentException if file uploads are not allowed
*/
public function __construct($options = array())
{
Expand Down Expand Up @@ -71,9 +72,8 @@ public function removeValidator($name)
}

/**
* Remove an individual validator
* Clear the validators
*
* @param string $name
* @return AbstractAdapter
*/
public function clearValidators()
Expand Down Expand Up @@ -206,7 +206,7 @@ public function receive($files = null)
/**
* Checks if the file was already sent
*
* @param string|array $file Files to check
* @param string|array $files Files to check
* @return boolean
* @throws Exception\BadMethodCallException Not implemented
*/
Expand Down Expand Up @@ -262,7 +262,7 @@ public function isFiltered($files = null)
/**
* Has a file been uploaded ?
*
* @param array|string|null $file
* @param array|string|null $files
* @return boolean
*/
public function isUploaded($files = null)
Expand All @@ -287,6 +287,7 @@ public function isUploaded($files = null)
* @param string|array $id The upload to get the progress for
* @return array|null
* @throws Exception\PhpEnvironmentException whether APC nor UploadProgress extension installed
* @throws Exception\RuntimeException
*/
public static function getProgress($id = null)
{
Expand Down
1 change: 1 addition & 0 deletions src/Transfer/Transfer.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ public function getAdapter($direction = null)
*
* @param string $method Method to call
* @param array $options Options for this method
* @throws Exception\BadMethodCallException if unknown method
* @return mixed
*/
public function __call($method, array $options)
Expand Down

0 comments on commit 3796880

Please sign in to comment.