| @@ -51,12 +51,12 @@ | ||
| 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 | } | 
| @@ -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,14 @@ | ||
| 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 | } | 
| @@ -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 | } | 
| @@ -25,7 +25,7 @@ | ||
| 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; | 
| @@ -34,7 +34,7 @@ | ||
| 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 | } | 
| @@ -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 | } |