jasonramsden / php-ews

Automatically exported from code.google.com/p/php-ews
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Incorrect return types #12

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The doc blocks for each of the request methods defined in the 
ExchangeWebServices class are incorrect. For example 
ExchangeWebServices::CreateItem() defines the response type as 
CreateItemResponseType; however, the method actually returns an object of type 
stdClass. CreateItemResponseType is also not defined.

There are two options here:
1. The doc blocks can be changed to define the return type as stdClass.
2. The response can be properly processed into the defined return type (though 
these still need to be implemented and should probably be prefixed with EWSType 
(e.g. EWSType_CreateItemResponseType).

The second option will be a change in the current behavior but I am not opposed 
to it if that makes it easier to use. I wanted to get some input from the 
community before I make decision.

Original issue reported on code.google.com by JamesIArmes@gmail.com on 6 Oct 2011 at 1:14

GoogleCodeExporter commented 9 years ago
This issue has been moved to GitHub 
https://github.com/jamesiarmes/php-ews/issues/12

Original comment by JamesIArmes@gmail.com on 14 Feb 2012 at 3:03