@@ -50,7 +50,6 @@ |
||
50 | 50 | /** |
51 | 51 | * Constructs new instance of SQLSrverExpressionProvider for NorthWind DB |
52 | 52 | * |
53 | - * @param string $iterName The name of the iterator |
|
54 | 53 | */ |
55 | 54 | public function __construct() |
56 | 55 | { |
@@ -172,7 +172,7 @@ |
||
172 | 172 | * |
173 | 173 | * @throws InvalidOperationException |
174 | 174 | * |
175 | - * @return NorthWindMetadata |
|
175 | + * @return SimpleMetadataProvider |
|
176 | 176 | */ |
177 | 177 | public static function create() |
178 | 178 | { |
@@ -418,7 +418,7 @@ discard block |
||
418 | 418 | * |
419 | 419 | * @param array $record each row of customer |
420 | 420 | * |
421 | - * @return object |
|
421 | + * @return Customer |
|
422 | 422 | */ |
423 | 423 | private function _serializeCustomer($record) |
424 | 424 | { |
@@ -461,7 +461,8 @@ discard block |
||
461 | 461 | * |
462 | 462 | * @param Object &$src source |
463 | 463 | * @param Object &$target target |
464 | - * @param Object $tag tag |
|
464 | + * @param integer $tag tag |
|
465 | + * @param Address $target |
|
465 | 466 | * |
466 | 467 | * @return void |
467 | 468 | */ |
@@ -503,7 +504,7 @@ discard block |
||
503 | 504 | * |
504 | 505 | * @param array $record each row of customer |
505 | 506 | * |
506 | - * @return object |
|
507 | + * @return Order |
|
507 | 508 | */ |
508 | 509 | private function _serializeOrder($record) |
509 | 510 | { |
@@ -547,7 +548,7 @@ discard block |
||
547 | 548 | * |
548 | 549 | * @param array $record each row of employee |
549 | 550 | * |
550 | - * @return object |
|
551 | + * @return Employee |
|
551 | 552 | */ |
552 | 553 | private function _serializeEmployee($record) |
553 | 554 | { |
@@ -595,7 +596,7 @@ discard block |
||
595 | 596 | * |
596 | 597 | * @param array $record each row of order detail |
597 | 598 | * |
598 | - * @return object |
|
599 | + * @return Order_Details |
|
599 | 600 | */ |
600 | 601 | private function _serializeOrderDetail($record) |
601 | 602 | { |
@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | * @param WebOperationContext $operationContext A reference to the context |
49 | 49 | * for the current operation. |
50 | 50 | * |
51 | - * @return mixed A valid default stream which is associated with the entity, |
|
51 | + * @return string A valid default stream which is associated with the entity, |
|
52 | 52 | * Null should never be returned from this method. |
53 | 53 | * |
54 | 54 | * @throws ODataException if a valid stream cannot be returned. |
@@ -212,7 +212,7 @@ discard block |
||
212 | 212 | * conditional request. |
213 | 213 | * @param WebOperationContext $operationContext A reference to the context for the current operation. |
214 | 214 | * |
215 | - * @return mixed A valid stream the data service use to query/read a named stream which is |
|
215 | + * @return string A valid stream the data service use to query/read a named stream which is |
|
216 | 216 | * associated with the $entity. Null may be returned from this method if the requested named |
217 | 217 | * stream has not been created since the creation of $entity. The data service will respond |
218 | 218 | * with 204 if this method returns null. |
@@ -76,7 +76,6 @@ discard block |
||
76 | 76 | * |
77 | 77 | * @param ResourceSet $resourceSet The entity set whose |
78 | 78 | * entities needs to be fetched |
79 | - * @param string $filterOption Contains the filter condition |
|
80 | 79 | * @param string $select For future purpose,no need to pass it |
81 | 80 | * @param string $orderby For future purpose,no need to pass it |
82 | 81 | * @param string $top For future purpose,no need to pass it |
@@ -273,7 +272,6 @@ discard block |
||
273 | 272 | * the navigation property |
274 | 273 | * @param ResourceProperty $targetProperty The navigation property to be |
275 | 274 | * retrieved |
276 | - * @param string $filterOption Contains the filter condition |
|
277 | 275 | * @param string $select For future purpose,no need to pass it |
278 | 276 | * @param string $orderby For future purpose,no need to pass it |
279 | 277 | * @param string $top For future purpose,no need to pass it |
@@ -662,7 +660,7 @@ discard block |
||
662 | 660 | /** |
663 | 661 | * Serialize the mysql result array into Post objects |
664 | 662 | * |
665 | - * @param array(array) $result result of the mysql query |
|
663 | + * @param resource $result result of the mysql query |
|
666 | 664 | * |
667 | 665 | * @return array(Object) |
668 | 666 | */ |
@@ -681,7 +679,7 @@ discard block |
||
681 | 679 | * |
682 | 680 | * @param array $record each post row |
683 | 681 | * |
684 | - * @return object |
|
682 | + * @return Post |
|
685 | 683 | */ |
686 | 684 | private function _serializePost($record) |
687 | 685 | { |
@@ -741,7 +739,7 @@ discard block |
||
741 | 739 | /** |
742 | 740 | * Serialize the mysql result array into Tag objects |
743 | 741 | * |
744 | - * @param array(array) $result result of the mysql query |
|
742 | + * @param resource $result result of the mysql query |
|
745 | 743 | * |
746 | 744 | * @return array(Object) |
747 | 745 | */ |
@@ -760,7 +758,7 @@ discard block |
||
760 | 758 | * |
761 | 759 | * @param array $record each tag row |
762 | 760 | * |
763 | - * @return object |
|
761 | + * @return Tag |
|
764 | 762 | */ |
765 | 763 | private function _serializeTag($record) |
766 | 764 | { |
@@ -775,7 +773,7 @@ discard block |
||
775 | 773 | /** |
776 | 774 | * Serialize the mysql result array into Category objects |
777 | 775 | * |
778 | - * @param array(array) $result result of the mysql query |
|
776 | + * @param resource $result result of the mysql query |
|
779 | 777 | * |
780 | 778 | * @return array(Object) |
781 | 779 | */ |
@@ -794,7 +792,7 @@ discard block |
||
794 | 792 | * |
795 | 793 | * @param array $record each category row |
796 | 794 | * |
797 | - * @return object |
|
795 | + * @return Category |
|
798 | 796 | */ |
799 | 797 | private function _serializeCategory($record) |
800 | 798 | { |
@@ -809,7 +807,7 @@ discard block |
||
809 | 807 | /** |
810 | 808 | * Serialize the mysql result array into Comment objects |
811 | 809 | * |
812 | - * @param array(array) $result mysql query result |
|
810 | + * @param resource $result mysql query result |
|
813 | 811 | * |
814 | 812 | * @return array(Object) |
815 | 813 | */ |
@@ -828,7 +826,7 @@ discard block |
||
828 | 826 | * |
829 | 827 | * @param array $record each comment row |
830 | 828 | * |
831 | - * @return object |
|
829 | + * @return Comment |
|
832 | 830 | */ |
833 | 831 | private function _serializeComment($record) |
834 | 832 | { |
@@ -867,7 +865,7 @@ discard block |
||
867 | 865 | /** |
868 | 866 | * Serialize the mysql result array into User objects |
869 | 867 | * |
870 | - * @param array(array) $result result of the mysql query |
|
868 | + * @param resource $result result of the mysql query |
|
871 | 869 | * |
872 | 870 | * @return array(Object) |
873 | 871 | */ |
@@ -886,7 +884,7 @@ discard block |
||
886 | 884 | * |
887 | 885 | * @param array $record each user row |
888 | 886 | * |
889 | - * @return object |
|
887 | + * @return User |
|
890 | 888 | */ |
891 | 889 | private function _serializeUser($record) |
892 | 890 | { |
@@ -665,6 +665,7 @@ |
||
665 | 665 | * @param boolean &$needToSerializeResponse On return, this will contain |
666 | 666 | * True if response needs to be |
667 | 667 | * serialized, False otherwise. |
668 | + * @param boolean $needToSerializeResponse |
|
668 | 669 | * |
669 | 670 | * @return string|null The ETag for the entry object if it has eTag properties |
670 | 671 | * NULL otherwise. |
@@ -29,7 +29,7 @@ |
||
29 | 29 | * @param string $statusCode The status code |
30 | 30 | * @param string $errorCode The error code |
31 | 31 | * |
32 | - * @return void |
|
32 | + * @return ODataException |
|
33 | 33 | */ |
34 | 34 | public function __construct($message, $statusCode, $errorCode= null) |
35 | 35 | { |
@@ -463,7 +463,7 @@ discard block |
||
463 | 463 | * To check whether the given character is a HTTP token character |
464 | 464 | * or not. |
465 | 465 | * |
466 | - * @param char $char The character to inspect. |
|
466 | + * @param string $char The character to inspect. |
|
467 | 467 | * |
468 | 468 | * @return boolean True if the given character is a valid HTTP token |
469 | 469 | * character, False otherwise. |
@@ -606,6 +606,7 @@ discard block |
||
606 | 606 | * @param string $text Text to read qvalue from. |
607 | 607 | * @param int &$textIndex Index into text where the qvalue starts. |
608 | 608 | * @param int &$qualityValue After the method executes, the normalized qvalue. |
609 | + * @param integer $textIndex |
|
609 | 610 | * |
610 | 611 | * @throws HttpHeaderFailure If any error occured while reading and processing |
611 | 612 | * the quality factor. |
@@ -659,7 +660,7 @@ discard block |
||
659 | 660 | /** |
660 | 661 | * Converts the specified character from the ASCII range to a digit. |
661 | 662 | * |
662 | - * @param char $c Character to convert |
|
663 | + * @param string $c Character to convert |
|
663 | 664 | * |
664 | 665 | * @return int The Int32 value for $c, or -1 if it is an element separator. |
665 | 666 | * |
@@ -376,7 +376,7 @@ |
||
376 | 376 | * NULL for complex object. |
377 | 377 | * @param string $relativeUri Relative uri for the given |
378 | 378 | * custom object. |
379 | - * @param ODataEntry &$odataEntry ODataEntry instance to |
|
379 | + * @param ODataEntry ODataEntry|null ODataEntry instance to |
|
380 | 380 | * place links and |
381 | 381 | * expansion of the |
382 | 382 | * entry object, |