Passed
Pull Request — master (#227)
by Alex
05:50
created
src/POData/Common/Messages/resourceProperty.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
     public static function resourcePropertyInvalidKindParameter($argumentName)
21 21
     {
22 22
         return 'The argument \'' . $argumentName . '\' is not a valid ResourcePropertyKind enum value or'
23
-               . ' valid combination of ResourcePropertyKind enum values';
23
+                . ' valid combination of ResourcePropertyKind enum values';
24 24
     }
25 25
 
26 26
     /**
@@ -36,6 +36,6 @@  discard block
 block discarded – undo
36 36
         $resourceTypeArgName
37 37
     ) {
38 38
         return 'The \'' . $resourcePropertyKindArgName . '\' parameter does not match with the type of the resource'
39
-               . ' type in parameter \'' . $resourceTypeArgName . '\'';
39
+                . ' type in parameter \'' . $resourceTypeArgName . '\'';
40 40
     }
41 41
 }
Please login to merge, or discard this patch.
src/POData/Common/ErrorHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
      */
25 25
     public static function handleException(\Exception $exception, IService $service)
26 26
     {
27
-        $acceptTypesText     = $service->getHost()->getRequestAccept();
27
+        $acceptTypesText = $service->getHost()->getRequestAccept();
28 28
         try {
29 29
             $responseContentType = HttpProcessUtility::selectMimeType(
30 30
                 $acceptTypesText,
Please login to merge, or discard this patch.
src/POData/ObjectModel/ODataMediaLink.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -78,7 +78,6 @@
 block discarded – undo
78 78
         $this->eTag        = $eTag;
79 79
         $this->name        = $name;
80 80
         $this->srcLink     = $srcLink;
81
-        $this->rel         = (null !== $rel) ? $rel :
82
-            ODataConstants::ATOM_MEDIA_RESOURCE_RELATION_ATTRIBUTE_VALUE . $name;
81
+        $this->rel         = (null !== $rel) ? $rel : ODataConstants::ATOM_MEDIA_RESOURCE_RELATION_ATTRIBUTE_VALUE . $name;
83 82
     }
84 83
 }
Please login to merge, or discard this patch.