Skip to content

Commit

Permalink
Merge pull request #455 from weirdan/dockblock-namespace-fixes
Browse files Browse the repository at this point in the history
Fixed namespaces in docblocks
  • Loading branch information
ob-stripe authored Mar 2, 2018
2 parents 373dd08 + ffcd760 commit 7a22499
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion lib/ApiOperations/All.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ trait All
* @param array|null $params
* @param array|string|null $opts
*
* @return Collection of ApiResources
* @return \Stripe\Collection of ApiResources
*/
public static function all($params = null, $opts = null)
{
Expand Down
2 changes: 1 addition & 1 deletion lib/ApiOperations/Create.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ trait Create
* @param array|null $params
* @param array|string|null $options
*
* @return ApiResource The created resource.
* @return \Stripe\ApiResource The created resource.
*/
public static function create($params = null, $options = null)
{
Expand Down
2 changes: 1 addition & 1 deletion lib/ApiOperations/Delete.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ trait Delete
* @param array|null $params
* @param array|string|null $opts
*
* @return ApiResource The deleted resource.
* @return \Stripe\ApiResource The deleted resource.
*/
public function delete($params = null, $opts = null)
{
Expand Down
12 changes: 6 additions & 6 deletions lib/ApiOperations/NestedResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ trait NestedResource
* @param array|null $params
* @param array|string|null $options
*
* @return Stripe\StripeObject
* @return \Stripe\StripeObject
*/
protected static function _nestedResourceOperation($method, $url, $params = null, $options = null)
{
Expand Down Expand Up @@ -49,7 +49,7 @@ protected static function _nestedResourceUrl($id, $nestedPath, $nestedId = null)
* @param array|null $params
* @param array|string|null $options
*
* @return Stripe\StripeObject
* @return \Stripe\StripeObject
*/
protected static function _createNestedResource($id, $nestedPath, $params = null, $options = null)
{
Expand All @@ -63,7 +63,7 @@ protected static function _createNestedResource($id, $nestedPath, $params = null
* @param array|null $params
* @param array|string|null $options
*
* @return Stripe\StripeObject
* @return \Stripe\StripeObject
*/
protected static function _retrieveNestedResource($id, $nestedPath, $nestedId, $params = null, $options = null)
{
Expand All @@ -77,7 +77,7 @@ protected static function _retrieveNestedResource($id, $nestedPath, $nestedId, $
* @param array|null $params
* @param array|string|null $options
*
* @return Stripe\StripeObject
* @return \Stripe\StripeObject
*/
protected static function _updateNestedResource($id, $nestedPath, $nestedId, $params = null, $options = null)
{
Expand All @@ -91,7 +91,7 @@ protected static function _updateNestedResource($id, $nestedPath, $nestedId, $pa
* @param array|null $params
* @param array|string|null $options
*
* @return Stripe\StripeObject
* @return \Stripe\StripeObject
*/
protected static function _deleteNestedResource($id, $nestedPath, $nestedId, $params = null, $options = null)
{
Expand All @@ -105,7 +105,7 @@ protected static function _deleteNestedResource($id, $nestedPath, $nestedId, $pa
* @param array|null $params
* @param array|string|null $options
*
* @return Stripe\StripeObject
* @return \Stripe\StripeObject
*/
protected static function _allNestedResources($id, $nestedPath, $params = null, $options = null)
{
Expand Down
2 changes: 1 addition & 1 deletion lib/ApiOperations/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ trait Request
/**
* @param array|null|mixed $params The list of parameters to validate
*
* @throws Stripe\Error\Api if $params exists and is not an array
* @throws \Stripe\Error\Api if $params exists and is not an array
*/
protected static function _validateParams($params = null)
{
Expand Down
2 changes: 1 addition & 1 deletion lib/ApiOperations/Retrieve.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ trait Retrieve
* or an options array containing an `id` key.
* @param array|string|null $opts
*
* @return Stripe\StripeObject
* @return \Stripe\StripeObject
*/
public static function retrieve($id, $opts = null)
{
Expand Down
4 changes: 2 additions & 2 deletions lib/ApiOperations/Update.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ trait Update
* @param array|null $params
* @param array|string|null $opts
*
* @return ApiResource The updated resource.
* @return \Stripe\ApiResource The updated resource.
*/
public static function update($id, $params = null, $opts = null)
{
Expand All @@ -31,7 +31,7 @@ public static function update($id, $params = null, $opts = null)
/**
* @param array|string|null $opts
*
* @return ApiResource The saved resource.
* @return \Stripe\ApiResource The saved resource.
*/
public function save($opts = null)
{
Expand Down
2 changes: 1 addition & 1 deletion lib/ApiResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ abstract class ApiResource extends StripeObject
use ApiOperations\Request;

/**
* @return Stripe\Util\Set A list of fields that can be their own type of
* @return \Stripe\Util\Set A list of fields that can be their own type of
* API resource (say a nested card under an account for example), and if
* that resource is set, it should be transmitted to the API on a create or
* update. Doing so is not the default behavior because API resources
Expand Down
2 changes: 1 addition & 1 deletion lib/HttpClient/CurlClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ private function executeRequestWithRetries($opts, $absUrl)

/**
* @param string $url
* @param number $errno
* @param int $errno
* @param string $message
* @param int $numRetries
* @throws Error\ApiConnection
Expand Down

0 comments on commit 7a22499

Please sign in to comment.