Test Setup Failed
Pull Request — master (#152)
by Christopher
04:16
created
src/POData/ObjectModel/ODataLink.php 2 patches
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -51,12 +51,12 @@
 block discarded – undo
51 51
      */
52 52
     public $isExpanded;
53 53
 
54
-    public function expandResult(){
55
-        if(!$this->isExpanded){
54
+    public function expandResult() {
55
+        if (!$this->isExpanded) {
56 56
             return null;
57 57
         }
58
-        if($this->isCollection){
59
-            return new ODataExpandedResult(null,$this->expandedResult);
58
+        if ($this->isCollection) {
59
+            return new ODataExpandedResult(null, $this->expandedResult);
60 60
         }
61 61
         return new ODataExpandedResult($this->expandedResult);
62 62
     }
Please login to merge, or discard this patch.
Braces   +4 added lines, -3 removed lines patch added patch discarded remove patch
@@ -51,11 +51,12 @@
 block discarded – undo
51 51
      */
52 52
     public $isExpanded;
53 53
 
54
-    public function expandResult(){
55
-        if(!$this->isExpanded){
54
+    public function expandResult()
55
+    {
56
+        if(!$this->isExpanded) {
56 57
             return null;
57 58
         }
58
-        if($this->isCollection){
59
+        if($this->isCollection) {
59 60
             return new ODataExpandedResult(null,$this->expandedResult);
60 61
         }
61 62
         return new ODataExpandedResult($this->expandedResult);
Please login to merge, or discard this patch.
src/POData/ObjectModel/ODataEntry.php 2 patches
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -91,14 +91,14 @@
 block discarded – undo
91 91
      */
92 92
     public $updated;
93 93
 
94
-    public function atomContent(){
95
-        if(!$this->isMediaLinkEntry){
96
-            return new \POData\ObjectModel\AtomObjectModel\AtomContent(\POData\Common\MimeTypes::MIME_APPLICATION_XML,null);
94
+    public function atomContent() {
95
+        if (!$this->isMediaLinkEntry) {
96
+            return new \POData\ObjectModel\AtomObjectModel\AtomContent(\POData\Common\MimeTypes::MIME_APPLICATION_XML, null);
97 97
         }
98
-        return new \POData\ObjectModel\AtomObjectModel\AtomContent($this->mediaLink->contentType,$this->mediaLink->srcLink);
98
+        return new \POData\ObjectModel\AtomObjectModel\AtomContent($this->mediaLink->contentType, $this->mediaLink->srcLink);
99 99
     }
100 100
 
101
-    public function atomAuthor(){
101
+    public function atomAuthor() {
102 102
         return new \POData\ObjectModel\AtomObjectModel\AtomAuthor();
103 103
     }
104 104
 }
Please login to merge, or discard this patch.
Braces   +5 added lines, -3 removed lines patch added patch discarded remove patch
@@ -91,14 +91,16 @@
 block discarded – undo
91 91
      */
92 92
     public $updated;
93 93
 
94
-    public function atomContent(){
95
-        if(!$this->isMediaLinkEntry){
94
+    public function atomContent()
95
+    {
96
+        if(!$this->isMediaLinkEntry) {
96 97
             return new \POData\ObjectModel\AtomObjectModel\AtomContent(\POData\Common\MimeTypes::MIME_APPLICATION_XML,null);
97 98
         }
98 99
         return new \POData\ObjectModel\AtomObjectModel\AtomContent($this->mediaLink->contentType,$this->mediaLink->srcLink);
99 100
     }
100 101
 
101
-    public function atomAuthor(){
102
+    public function atomAuthor()
103
+    {
102 104
         return new \POData\ObjectModel\AtomObjectModel\AtomAuthor();
103 105
     }
104 106
 }
Please login to merge, or discard this patch.
src/POData/ObjectModel/ODataExpandedResult.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
      */
26 26
     public $feed;
27 27
 
28
-    public function __construct(ODataEntry $Entry = null,ODataFeed $Feed = null)
28
+    public function __construct(ODataEntry $Entry = null, ODataFeed $Feed = null)
29 29
     {
30 30
         $this->entry = $Entry;
31 31
         $this->feed = $Feed;
Please login to merge, or discard this patch.
src/POData/ObjectModel/ODataProperty.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
      */
35 35
     public $value;
36 36
 
37
-    public function isNull(){
38
-        return null === $this->value ? true:null;
37
+    public function isNull() {
38
+        return null === $this->value ? true : null;
39 39
     }
40 40
 }
Please login to merge, or discard this patch.
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,8 @@
 block discarded – undo
34 34
      */
35 35
     public $value;
36 36
 
37
-    public function isNull(){
37
+    public function isNull()
38
+    {
38 39
         return null === $this->value ? true:null;
39 40
     }
40 41
 }
Please login to merge, or discard this patch.