@@ -47,7 +47,7 @@ |
||
47 | 47 | public function __construct($id, $secret) |
48 | 48 | { |
49 | 49 | if (!is_string($id) |
50 | - // Keeping this for BC. Integers greater than PHP_INT_MAX will make is_int() return false |
|
50 | + // Keeping this for BC. Integers greater than PHP_INT_MAX will make is_int() return false |
|
51 | 51 | && !is_int($id)) { |
52 | 52 | throw new FacebookSDKException('The "app_id" must be formatted as a string since many app ID\'s are greater than PHP_INT_MAX on some systems.'); |
53 | 53 | } |
@@ -602,8 +602,8 @@ |
||
602 | 602 | } while (!$chunk->isLastChunk()); |
603 | 603 | |
604 | 604 | return [ |
605 | - 'video_id' => $chunk->getVideoId(), |
|
606 | - 'success' => $uploader->finish($endpoint, $chunk->getUploadSessionId(), $metadata), |
|
605 | + 'video_id' => $chunk->getVideoId(), |
|
606 | + 'success' => $uploader->finish($endpoint, $chunk->getUploadSessionId(), $metadata), |
|
607 | 607 | ]; |
608 | 608 | } |
609 | 609 |
@@ -77,8 +77,8 @@ |
||
77 | 77 | if (version_compare(PHP_VERSION, '5.3.0', '<')) { |
78 | 78 | if (null !== ($e = $this->getPrevious())) { |
79 | 79 | return $e->__toString() |
80 | - . "\n\nNext " |
|
81 | - . parent::__toString(); |
|
80 | + . "\n\nNext " |
|
81 | + . parent::__toString(); |
|
82 | 82 | } |
83 | 83 | } |
84 | 84 | return parent::__toString(); |
@@ -254,13 +254,13 @@ |
||
254 | 254 | $fragment = strlen($this->_fragment) > 0 ? "#$this->_fragment" : ''; |
255 | 255 | |
256 | 256 | return $this->_scheme |
257 | - . '://' |
|
258 | - . $auth |
|
259 | - . $this->_host |
|
260 | - . $port |
|
261 | - . $this->_path |
|
262 | - . $query |
|
263 | - . $fragment; |
|
257 | + . '://' |
|
258 | + . $auth |
|
259 | + . $this->_host |
|
260 | + . $port |
|
261 | + . $this->_path |
|
262 | + . $query |
|
263 | + . $fragment; |
|
264 | 264 | } |
265 | 265 | |
266 | 266 | /** |
@@ -90,7 +90,7 @@ |
||
90 | 90 | $this->registerPackage('Zend_Gdata_Books_Extension'); |
91 | 91 | parent::__construct($client, $applicationId); |
92 | 92 | $this->_httpClient->setParameterPost('service', self::AUTH_SERVICE_NAME); |
93 | - } |
|
93 | + } |
|
94 | 94 | |
95 | 95 | /** |
96 | 96 | * Retrieves a feed of volumes. |
@@ -109,16 +109,16 @@ |
||
109 | 109 | { |
110 | 110 | $element = parent::getDOM($doc, $majorVersion, $minorVersion); |
111 | 111 | if ($this->_videoId !== null) { |
112 | - $element->appendChild($this->_videoId->getDOM( |
|
113 | - $element->ownerDocument)); |
|
112 | + $element->appendChild($this->_videoId->getDOM( |
|
113 | + $element->ownerDocument)); |
|
114 | 114 | } |
115 | 115 | if ($this->_username !== null) { |
116 | - $element->appendChild($this->_username->getDOM( |
|
117 | - $element->ownerDocument)); |
|
116 | + $element->appendChild($this->_username->getDOM( |
|
117 | + $element->ownerDocument)); |
|
118 | 118 | } |
119 | 119 | if ($this->_rating !== null) { |
120 | - $element->appendChild($this->_rating->getDOM( |
|
121 | - $element->ownerDocument)); |
|
120 | + $element->appendChild($this->_rating->getDOM( |
|
121 | + $element->ownerDocument)); |
|
122 | 122 | } |
123 | 123 | return $element; |
124 | 124 | } |
@@ -121,13 +121,13 @@ |
||
121 | 121 | } |
122 | 122 | |
123 | 123 | /** |
124 | - * Get the value of this element's token attribute. |
|
125 | - * |
|
126 | - * @return string The token's text value |
|
127 | - */ |
|
124 | + * Get the value of this element's token attribute. |
|
125 | + * |
|
126 | + * @return string The token's text value |
|
127 | + */ |
|
128 | 128 | public function getTokenValue() |
129 | 129 | { |
130 | - return $this->getToken()->getText(); |
|
130 | + return $this->getToken()->getText(); |
|
131 | 131 | } |
132 | 132 | |
133 | 133 | } |
@@ -121,13 +121,13 @@ |
||
121 | 121 | } |
122 | 122 | |
123 | 123 | /** |
124 | - * Get the value of this element's state attribute. |
|
125 | - * |
|
126 | - * @return string The state's text value |
|
127 | - */ |
|
124 | + * Get the value of this element's state attribute. |
|
125 | + * |
|
126 | + * @return string The state's text value |
|
127 | + */ |
|
128 | 128 | public function getStateValue() |
129 | 129 | { |
130 | - return $this->getState()->getText(); |
|
130 | + return $this->getState()->getText(); |
|
131 | 131 | } |
132 | 132 | |
133 | 133 | } |
@@ -232,7 +232,7 @@ discard block |
||
232 | 232 | } |
233 | 233 | } |
234 | 234 | if ($this->_where != null) { |
235 | - $element->appendChild($this->_where->getDOM( |
|
235 | + $element->appendChild($this->_where->getDOM( |
|
236 | 236 | $element->ownerDocument)); |
237 | 237 | } |
238 | 238 | return $element; |
@@ -599,9 +599,9 @@ discard block |
||
599 | 599 | { |
600 | 600 | $recorded = $this->getRecorded(); |
601 | 601 | if ($recorded != null) { |
602 | - return $recorded->getText(); |
|
602 | + return $recorded->getText(); |
|
603 | 603 | } else { |
604 | - return null; |
|
604 | + return null; |
|
605 | 605 | } |
606 | 606 | } |
607 | 607 | |
@@ -1067,8 +1067,8 @@ discard block |
||
1067 | 1067 | 'Rating for video entry must be between 1 and 5 inclusive.'); |
1068 | 1068 | } |
1069 | 1069 | |
1070 | - require_once 'Zend/Gdata/Extension/Rating.php'; |
|
1071 | - $rating = new Zend_Gdata_Extension_Rating(null, 1, 5, null, |
|
1070 | + require_once 'Zend/Gdata/Extension/Rating.php'; |
|
1071 | + $rating = new Zend_Gdata_Extension_Rating(null, 1, 5, null, |
|
1072 | 1072 | $ratingValue); |
1073 | 1073 | $this->setRating($rating); |
1074 | 1074 | return $this; |