Skip to content

Commit

Permalink
Fixed PHPDoc
Browse files Browse the repository at this point in the history
  • Loading branch information
krizalys committed Apr 1, 2017
1 parent fdac0f1 commit db52d52
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 12 deletions.
2 changes: 2 additions & 0 deletions autoload.php
Expand Up @@ -10,6 +10,8 @@
// require_once __DIR__ . '/Onedrive/autoload.php'

/**
* @param string $name The name.
*
* @internal
*/
function autoload($name)
Expand Down
13 changes: 9 additions & 4 deletions src/Krizalys/Onedrive/Client.php
Expand Up @@ -864,6 +864,8 @@ public function fetchPublicDocs()
/**
* Fetches the properties of an object in the current OneDrive account.
*
* @param string $objectId The object ID.
*
* @return object The properties of the object fetched.
*/
public function fetchProperties($objectId)
Expand All @@ -878,6 +880,8 @@ public function fetchProperties($objectId)
/**
* Fetches the objects in a folder in the current OneDrive account.
*
* @param string $objectId The object ID.
*
* @return array The objects in the folder fetched, as Object instances
* referencing OneDrive objects.
*/
Expand Down Expand Up @@ -935,10 +939,11 @@ public function updateObject($objectId, $properties = [], $temp = false)
/**
* Moves an object into another folder.
*
* @param string The unique ID of the object to move.
* @param null|string The unique ID of the folder into which to move the
* object, or null to move it to the OneDrive root
* folder. Default: null.
* @param string $objectId The unique ID of the object to move.
* @param null|string $destinationId The unique ID of the folder into which
* to move the object, or null to move it
* to the OneDrive root folder. Default:
* null.
*/
public function moveObject($objectId, $destinationId = null)
{
Expand Down
9 changes: 5 additions & 4 deletions src/Krizalys/Onedrive/File.php
Expand Up @@ -57,10 +57,11 @@ public function fetchContent($options = [])
* Copies the OneDrive file referenced by this File instance into another
* OneDrive folder.
*
* @param null|string The unique ID of the OneDrive folder into which to
* copy the OneDrive file referenced by this File
* instance, or null to copy it in the OneDrive root
* folder. Default: null.
* @param null|string $destinationId The unique ID of the OneDrive folder
* into which to copy the OneDrive file
* referenced by this File instance, or
* null to copy it in the OneDrive root
* folder. Default: null.
*/
public function copy($destinationId = null)
{
Expand Down
9 changes: 5 additions & 4 deletions src/Krizalys/Onedrive/Object.php
Expand Up @@ -276,10 +276,11 @@ public function getUpdatedTime()
* Moves the OneDrive object referenced by this Object instance into another
* OneDrive folder.
*
* @param null|string The unique ID of the OneDrive folder into which to
* move the OneDrive object referenced by this Object
* instance, or null to move it to the OneDrive root
* folder. Default: null.
* @param null|string $destinationId The unique ID of the OneDrive folder
* into which to move the OneDrive object
* referenced by this Object instance, or
* null to move it to the OneDrive root
* folder. Default: null.
*/
public function move($destinationId = null)
{
Expand Down

0 comments on commit db52d52

Please sign in to comment.