Completed
Push — master ( 10633c...295847 )
by Bálint
02:37
created
POData/UriProcessor/QueryProcessor/OrderByParser/InternalOrderByInfo.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -38,11 +38,9 @@
 block discarded – undo
38 38
      *                                                     (if any) and orderby path
39 39
      *                                                     if IDSQP implementation wants to perform sorting.
40 40
      *
41
-     * @param AnonymousFunction[] $subSorterFunctions Collection of sub sorter functions corresponding to each orderby path segment
42 41
      *
43 42
      *
44 43
      *
45
-     * @param AnonymousFunction        $sorterFunction     The top level anonymous sorter function.
46 44
      *
47 45
      * @param mixed                    $dummyObject        A dummy object of type
48 46
      *                                                     of the resource set
Please login to merge, or discard this patch.
src/POData/Writers/Json/JsonODataV2Writer.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
      * Determines if the given writer is capable of writing the response or not
37 37
      * @param Version $responseVersion the OData version of the response
38 38
      * @param string $contentType the Content Type of the response
39
-     * @return boolean true if the writer can handle the response, false otherwise
39
+     * @return boolean|null true if the writer can handle the response, false otherwise
40 40
      */
41 41
     public function canHandle(Version $responseVersion, $contentType)
42 42
     {
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -43,11 +43,11 @@
 block discarded – undo
43 43
         $parts = explode(";", $contentType);
44 44
 
45 45
         //special case, in v3 verbose is the v2 writer
46
-        if($responseVersion == Version::v3()){
46
+        if ($responseVersion == Version::v3()) {
47 47
             return in_array(MimeTypes::MIME_APPLICATION_JSON, $parts) && (in_array('odata=verbose', $parts) || in_array('odata=minimal', $parts));
48 48
         }
49 49
 
50
-        if($responseVersion != Version::v2()){
50
+        if ($responseVersion != Version::v2()) {
51 51
             return false;
52 52
         }
53 53
     }
Please login to merge, or discard this patch.