@@ -51,11 +51,12 @@ |
||
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); |
@@ -91,14 +91,16 @@ |
||
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 | } |
@@ -34,7 +34,8 @@ |
||
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 | } |