Skip to content

Type Hinting improvements #5

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

Merged
merged 1 commit into from
Aug 23, 2013
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
3 changes: 1 addition & 2 deletions src/Phpforce/SoapClient/BulkSaver.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@

namespace Phpforce\SoapClient;

use Phpforce\SoapClient\Client;
use Phpforce\SoapClient\Response\SaveResult;
use Phpforce\SoapClient\Result\SaveResult;

/**
* Add creates, updates and upserts to the queue, and issue them in bulk to
Expand Down
1 change: 1 addition & 0 deletions src/Phpforce/SoapClient/Result/DescribeGlobalResult.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ class DescribeGlobalResult
{
public $encoding;
public $maxBatchSize;
/** @var DescribeGlobalSObjectResult[] */
public $sobjects = array();
}
3 changes: 2 additions & 1 deletion src/Phpforce/SoapClient/Result/DescribeSObjectResult.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
namespace Phpforce\SoapClient\Result;

use Doctrine\Common\Collections\ArrayCollection;
use Phpforce\SoapClient\Result\DescribeSObjectResult\Field;

class DescribeSObjectResult
{
Expand Down Expand Up @@ -111,7 +112,7 @@ public function isFeedEnabled()

/**
*
* @return ArrayCollection
* @return ArrayCollection|Field[]
*/
public function getFields()
{
Expand Down
2 changes: 1 addition & 1 deletion src/Phpforce/SoapClient/Result/SaveResult.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public function isSuccess()
}

/**
* @return array
* @return Error[]
*/
public function getErrors()
{
Expand Down
8 changes: 4 additions & 4 deletions src/Phpforce/SoapClient/Soap/SoapClientFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,14 @@ class SoapClientFactory
/**
* Type converters collection
*
* @var TypeConverterCollection
* @var TypeConverter\TypeConverterCollection
*/
protected $typeConverters;

/**
* @param string $wsdl Some argument description
*
* @return void
* @return SoapClient
*/
public function factory($wsdl)
{
Expand All @@ -80,7 +80,7 @@ public function setClassmapping($soap, $php)
/**
* Get type converter collection that will be used for the \SoapClient
*
* @return TypeConverterCollection
* @return TypeConverter\TypeConverterCollection
*/
public function getTypeConverters()
{
Expand All @@ -99,7 +99,7 @@ public function getTypeConverters()
/**
* Set type converter collection
*
* @param type $typeConverters Type converter collection
* @param TypeConverter\TypeConverterCollection $typeConverters Type converter collection
*
* @return SoapClientFactory
*/
Expand Down