Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit e1f7be3

Browse filesBrowse files
author
Michael Christopher
committed
Formatting cleanup
1 parent c69a238 commit e1f7be3
Copy full SHA for e1f7be3

File tree

3 files changed

+28
-21
lines changed
Filter options

3 files changed

+28
-21
lines changed

‎Services/Zencoder/Account.php

Copy file name to clipboardExpand all lines: Services/Zencoder/Account.php
+5-3Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,11 @@
55
* @category Services
66
* @package Services_Zencoder
77
* @author Michael Christopher <m@zencoder.com>
8-
* @version 2.0
9-
* @license http://creativecommons.org/licenses/MIT/MIT
8+
* @license http://creativecommons.org/licenses/MIT/MIT MIT
9+
* @version Release: 2.0
1010
* @link http://github.com/zencoder/zencoder-php
1111
*/
1212

13-
class Services_Zencoder_Account extends Services_Zencoder_Object {}
13+
class Services_Zencoder_Account extends Services_Zencoder_Object
14+
{
15+
}

‎Services/Zencoder/Input.php

Copy file name to clipboardExpand all lines: Services/Zencoder/Input.php
+5-3Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,11 @@
55
* @category Services
66
* @package Services_Zencoder
77
* @author Michael Christopher <m@zencoder.com>
8-
* @version 2.0
9-
* @license http://creativecommons.org/licenses/MIT/MIT
8+
* @license http://creativecommons.org/licenses/MIT/MIT MIT
9+
* @version Release: 2.0
1010
* @link http://github.com/zencoder/zencoder-php
1111
*/
1212

13-
class Services_Zencoder_Input extends Services_Zencoder_Object {}
13+
class Services_Zencoder_Input extends Services_Zencoder_Object
14+
{
15+
}

‎Services/Zencoder/Progress.php

Copy file name to clipboardExpand all lines: Services/Zencoder/Progress.php
+18-15Lines changed: 18 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5,26 +5,29 @@
55
* @category Services
66
* @package Services_Zencoder
77
* @author Michael Christopher <m@zencoder.com>
8-
* @version 2.0
9-
* @license http://creativecommons.org/licenses/MIT/MIT
8+
* @license http://creativecommons.org/licenses/MIT/MIT MIT
9+
* @version Release: 2.0
1010
* @link http://github.com/zencoder/zencoder-php
1111
*/
1212

13-
class Services_Zencoder_Progress extends Services_Zencoder_Object {
13+
class Services_Zencoder_Progress extends Services_Zencoder_Object
14+
{
1415

15-
public function __construct($params) {
16-
$this->_update_attributes($params);
17-
}
16+
public function __construct($params)
17+
{
18+
$this->_updateAttributes($params);
19+
}
1820

19-
private function _update_attributes($attributes = array()) {
20-
foreach($attributes as $attr_name => $attr_value) {
21-
if ($attr_name == "outputs" && is_array($attr_value)) {
22-
$this->_create_outputs($attr_value);
23-
} elseif ($attr_name == "input" && is_object($attr_value)) {
24-
$this->input = new Services_Zencoder_Input($attr_value);
25-
} elseif (empty($this->$attr_name)) {
26-
$this->$attr_name = $attr_value;
21+
private function _updateAttributes($attributes = array())
22+
{
23+
foreach ($attributes as $attr_name => $attr_value) {
24+
if ($attr_name == "outputs" && is_array($attr_value)) {
25+
$this->_create_outputs($attr_value);
26+
} elseif ($attr_name == "input" && is_object($attr_value)) {
27+
$this->input = new Services_Zencoder_Input($attr_value);
28+
} elseif (empty($this->$attr_name)) {
29+
$this->$attr_name = $attr_value;
30+
}
2731
}
2832
}
29-
}
3033
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.