Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed namespaces in docblocks #455

Merged
merged 1 commit into from
Mar 2, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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