@@ -40,7 +40,7 @@ discard block |
||
40 | 40 | public const DIRECTORY_TYPE_USER = 1; |
41 | 41 | public const DIRECTORY_TYPE_ORG = 2; |
42 | 42 | |
43 | - public const DIRECTORY_CONTENT_ALL = 0; |
|
43 | + public const DIRECTORY_CONTENT_ALL = 0; |
|
44 | 44 | public const DIRECTORY_CONTENT_OWN = 1; |
45 | 45 | |
46 | 46 | // Constants for status |
@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | public const PERM_README_UPDATE = 3; |
58 | 58 | |
59 | 59 | // Constants for log type |
60 | - public const LOG_TYPE_NONE = 0; |
|
60 | + public const LOG_TYPE_NONE = 0; |
|
61 | 61 | public const LOG_TYPE_UPDATE_START = 1; |
62 | 62 | public const LOG_TYPE_UPDATE_END = 2; |
63 | 63 | public const LOG_TYPE_REQUEST = 3; |
@@ -136,9 +136,9 @@ discard block |
||
136 | 136 | */ |
137 | 137 | public function getValuesReleases($keys = null, $format = null, $maxDepth = null) |
138 | 138 | { |
139 | - $helper = \XoopsModules\Wggithub\Helper::getInstance(); |
|
139 | + $helper = \XoopsModules\Wggithub\Helper::getInstance(); |
|
140 | 140 | $ret = $this->getValues($keys, $format, $maxDepth); |
141 | - $ret['id'] = $this->getVar('rel_id'); |
|
141 | + $ret['id'] = $this->getVar('rel_id'); |
|
142 | 142 | $repositoriesHandler = $helper->getHandler('Repositories'); |
143 | 143 | $repositoriesObj = $repositoriesHandler->get($this->getVar('rel_repoid')); |
144 | 144 | if (\is_object($repositoriesObj)) { |
@@ -148,7 +148,7 @@ discard block |
||
148 | 148 | } |
149 | 149 | $ret['type'] = $this->getVar('rel_type'); |
150 | 150 | $ret['name'] = $this->getVar('rel_name'); |
151 | - $ret['prerelease'] = (int)$this->getVar('rel_prerelease') > 0 ? _YES : _NO; |
|
151 | + $ret['prerelease'] = (int) $this->getVar('rel_prerelease') > 0 ? _YES : _NO; |
|
152 | 152 | $ret['publishedat'] = \formatTimestamp($this->getVar('rel_publishedat'), 'm'); |
153 | 153 | $ret['tarballurl'] = $this->getVar('rel_tarballurl'); |
154 | 154 | $ret['zipballurl'] = $this->getVar('rel_zipballurl'); |