Minor fixes

This commit is contained in:
4Giedrius committed 2014-12-10 12:44:36 +02:00
1 parent 358530abf4
commit 5caef6b4b3
5 files changed
+7 -5

No files matched your search

+1 -1
View File
@@ -134,7 +134,7 @@ class Box_Log
}
/**
* @param Box_LogDb $writer
* @param Box_LogDb|Box_LogStream $writer
*/
public function addWriter($writer)
{
+1 -1
View File
@@ -23,7 +23,7 @@ class Box_LogDb
/**
* Class constructor
*
* @param string $service - module service class object
* @param object $service - module service class object
*/
public function __construct($service)
{
@@ -18,6 +18,8 @@
*/
class Registrar_Adapter_Email extends Registrar_AdapterAbstract
{
protected $config;
public function __construct($options)
{
if(isset($options['email']) && !empty($options['email'])) {
+2 -2
View File
@@ -1,7 +1,7 @@
<?php
abstract class Registrar_AdapterAbstract
{
protected $_log = false;
protected $_log = null;
/**
* Are we in test mode ?
@@ -68,7 +68,7 @@ abstract class Registrar_AdapterAbstract
/**
* Should return domain transfer code
*
* @return Registrar_Domain
* @return string
* @throws Registrar_Exception
*/
abstract public function getEpp(Registrar_Domain $domain);
+1 -1
View File
@@ -60,7 +60,7 @@ class Admin extends \Api_Abstract
* Add new notification message
*
* @param string $message - message text
* @return int - new message id
* @return int|false - new message id
*/
public function add($data)
{