This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
*
* @param string $varName name of config-key
* @param array|string $value to set
- * @param boolean $trim Trim value? (default: false)
*/
protected function setMultiLine($varName, $value) {
if(empty($value)) {
* Get a list of all users
*
* @param string $search
- * @param null|int $limit
- * @param null|int $offset
+ * @param integer $limit
+ * @param integer $offset
* @return string[] an array of all uids
*/
public function getUsers($search = '', $limit = 10, $offset = 0) {
echo "License updated: $path" . PHP_EOL;
}
+ /**
+ * @param string $source
+ */
private function isMITLicensed($source) {
$lines = explode(PHP_EOL, $source);
while(!empty($lines)) {
return false;
}
+ /**
+ * @param string $source
+ */
private function eatOldLicense($source) {
$lines = explode(PHP_EOL, $source);
while(!empty($lines)) {
* 5.2.6.5 and 5.1 will be turned into 5.2 and 5.1
* @param string $first
* @param string $second
- * @return array first element is the first version, second element is the
+ * @return string[] first element is the first version, second element is the
* second version
*/
private function normalizeVersions($first, $second) {
throw new \UnexpectedValueException('Invalid version string "' . $version . '"' . $extraMessage);
}
+ /**
+ * @param string $stability
+ */
private function expandStability($stability) {
$stability = strtolower($stability);
switch ($stability) {
protected $config;
/**
- * @param \Doctrine\DBAL\Connection $connection
+ * @param Connection $connection
* @param ISecureRandom $random
* @param IConfig $config
*/
return $footer;
}
+ /**
+ * @param string $key
+ */
public function buildDocLinkToKey($key) {
if ($this->themeExist('buildDocLinkToKey')) {
return $this->theme->buildDocLinkToKey($key);