Completed
Pull Request — master (#12)
by Christopher
03:47
created
src/POData/Readers/Atom/AtomODataReader.php 3 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
     }
82 82
 
83 83
     /**
84
-     * @param DOMNode $feed
84
+     * @param \DOMNode $feed
85 85
      */
86 86
     protected function EnumerateFeed($feed, &$feedType, $parentObject = null)
87 87
     {
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
     }
119 119
 
120 120
     /**
121
-     * @param DOMNode $entry
121
+     * @param \DOMNode $entry
122 122
      */
123 123
     protected function EnumerateEntry($entry, &$entityType, $parentObject = null)
124 124
     {
@@ -203,7 +203,7 @@  discard block
 block discarded – undo
203 203
     }
204 204
 
205 205
     /**
206
-     * @param DOMNodeList $links
206
+     * @param \DOMNodeList $links
207 207
      */
208 208
     protected function GetRelatedLinks($links)
209 209
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 use DOMDocument;
5 5
 use ReflectionClass;
6 6
 use ReflectionProperty;
7
-use POData\Readers\IODataReader;
8 7
 
9 8
 class AtomODataReader
10 9
 {
Please login to merge, or discard this patch.
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
                                     'default' => 'http://www.w3.org/2005/Atom',
15 15
                                     'd' => 'http://schemas.microsoft.com/ado/2007/08/dataservices',
16 16
                                     'm' => 'http://schemas.microsoft.com/ado/2007/08/dataservices/metadata'
17
-                                 );
17
+                                    );
18 18
     protected static $QUERY_ROOT_FEED = '/default:feed';
19 19
     protected static $QUERY_ROOT_ENTRY = '/default:entry';
20 20
     protected static $QUERY_TITLE = 'default:title';
@@ -345,7 +345,7 @@  discard block
 block discarded – undo
345 345
                                  ($attributes['EdmType'] == 'Edm.Int16' ||
346 346
                                   $attributes['EdmType'] == 'Edm.Int32' ||
347 347
                                   $attributes['EdmType'] == 'Edm.Int64')))) {
348
-                                   $value = '0';
348
+                                    $value = '0';
349 349
                             }
350 350
                         } else {
351 351
                             $value = null;
Please login to merge, or discard this patch.
src/POData/Common/Messages/resourceType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 namespace POData\Common\Messages;
3 3
 
4
-trait resourceType{
4
+trait resourceType {
5 5
 /**
6 6
      * Format a message to show error when a tyring to set a
7 7
      * base class for primitive type.
Please login to merge, or discard this patch.
src/POData/Common/Messages.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,5 +38,5 @@
 block discarded – undo
38 38
  */
39 39
 class Messages
40 40
 {
41
-    use common,expressionParser,metadataAssociationType,orderByInfo,resourceAssociationSet,segmentParser,configuration,http,metadataResourceType,providersWrapper,resourceAssociationType,skipTokenInfo,eTag,httpProcessUtility,metadataWriter,queryProcessor,resourceProperty,skipTokenParser,expandProjectionParser,IService,navigation,queryProvider,resourceSet,streamProviderWrapper,expressionLexer,keyDescriptor,objectModelSerializer,request,resourceType,uriProcessor;
41
+    use common, expressionParser, metadataAssociationType, orderByInfo, resourceAssociationSet, segmentParser, configuration, http, metadataResourceType, providersWrapper, resourceAssociationType, skipTokenInfo, eTag, httpProcessUtility, metadataWriter, queryProcessor, resourceProperty, skipTokenParser, expandProjectionParser, IService, navigation, queryProvider, resourceSet, streamProviderWrapper, expressionLexer, keyDescriptor, objectModelSerializer, request, resourceType, uriProcessor;
42 42
 }
Please login to merge, or discard this patch.
src/POData/Common/Messages/http.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -35,12 +35,12 @@
 block discarded – undo
35 35
     }
36 36
 
37 37
 /**
38
-     * Message to show error when data service found a request method other than GET.
39
-     *
40
-     * @param HTTPRequestMethod $method Request method
41
-     *
42
-     * @return string The formatted message
43
-     */
38
+ * Message to show error when data service found a request method other than GET.
39
+ *
40
+ * @param HTTPRequestMethod $method Request method
41
+ *
42
+ * @return string The formatted message
43
+ */
44 44
     public static function onlyReadSupport(HTTPRequestMethod $method)
45 45
     {
46 46
         return "This release of library support only GET (read) request, received a request with method $method";
Please login to merge, or discard this patch.