I agree. Please note tat this is the original code, found in the Action class.

On 28 avril 2014 09:47:48 HAEC, Manuel Raynaud <notifications@github.com> wrote:
>> @@ -163,6 +163,34 @@ public function
>getAbsoluteTemplateDirectoryPath($templateSubdirName)
>>      }
>>  
>>      /**
>> +     * @return true if this module is a delivery module
>> +     */
>> +    public function isDeliveryModule() {
>> +        $moduleReflection = new
>\ReflectionClass($this->getFullNamespace());
>> +
>> +        return
>$moduleReflection->isSubclassOf("Thelia\Module\DeliveryModuleInterface");
>
>I think it should be better to use the
>[implementsInterface](http://fr2.php.net/manual/en/reflectionclass.implementsinterface.php)
>method than ```isSubclassOf``` 
>
>---
>Reply to this email directly or view it on GitHub:
>https://github.com/thelia/thelia/pull/345/files#r12037511