Skip to content
This repository has been archived by the owner on Apr 5, 2019. It is now read-only.

Commit

Permalink
Fixing some more stringent UnitTesting errors and failures from Travi…
Browse files Browse the repository at this point in the history
…s-CI.org
  • Loading branch information
JonTheNiceGuy committed Aug 24, 2012
1 parent d15e364 commit 16fd63a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion classes/Container/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ public static function countAll()
*
* @return string
*/
public function getSecureByID($key = null, $mixedDefaultValue = null)
public static function getSecureByID($key = null, $mixedDefaultValue = null)
{
$self = self::GetHandler();
if (! isset($self->arrSecureConfig[$key])) {
Expand Down
2 changes: 1 addition & 1 deletion classes/Object/Slot.php
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ public static function brokerAll($getNowNext = true, $strNow = '+0 minutes')
*
* @return string
*/
public function getKey($key)
public function getKey($key = null)
{
if ($key == 'isNow') {
return $this->isNow;
Expand Down
2 changes: 1 addition & 1 deletion classes/Object/Talk.php
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ public function fixTalk()
*
* @return mixed
*/
public function setKey($key, $value)
public function setKey($key = '', $value = '')
{
switch ($key) {
case 'isRoomLocked':
Expand Down
2 changes: 1 addition & 1 deletion classes/Object/Userauth.php
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ function setKey($keyname = '', $value = '')
*
* @return Object_Userauth
*/
function brokerCurrent()
public static function brokerCurrent()
{
$objCache = Base_Cache::getHandler();
$thisClassName = get_called_class();
Expand Down

0 comments on commit 16fd63a

Please sign in to comment.