diff --git a/lib/Wei.php b/lib/Wei.php
index <HASH>..<HASH> 100644
--- a/lib/Wei.php
+++ b/lib/Wei.php
@@ -848,10 +848,10 @@ namespace Wei
          * Add a service to the service container

          *

          * @param string $name The name of service

-         * @param Base $service The service service

+         * @param object $service The service service

          * @return $this

          */

-        public function __set($name, Base $service)

+        public function __set($name, $service)

         {

             return $this->set($name, $service);

         }

diff --git a/tests/unit/WeiTest.php b/tests/unit/WeiTest.php
index <HASH>..<HASH> 100644
--- a/tests/unit/WeiTest.php
+++ b/tests/unit/WeiTest.php
@@ -491,7 +491,7 @@ class WeiTest extends TestCase
             )

         ));

 

-        // Instance weis

+        // service instances

         $wei->request;

         $wei->{'sub.request'};

 

@@ -528,5 +528,8 @@ class WeiTest extends TestCase
     {

         $this->wei->set('customService', new \stdClass());

         $this->assertInstanceOf('stdClass', $this->wei->get('customService'));

+

+        $this->wei->customService2 = new \stdClass();

+        $this->assertInstanceOf('stdClass', $this->wei->customService2);

     }

 }
allows non \Wei\Base object as service through magic setter