ShopwareAG/shopware-4 — pull request #100 by fiesch (2013-09-03 22:07:23+00:00)
Title: This fixes a namespace clash in our connector tool including Categories,...

... Articles and Media at once. As all other instanceof appearances in the file are with the fully qualified class name i found this to be a rather rational approach being unable to find a solution outside of the Resource code.

Basic testing yields no effect on functionality and it resolves the following namespace clash error:

Cannot use Shopware\Models\Media\Media as Media because the name is already in use in /var/www/html/shopware/engine/Shopware/Components/Api/Resource/Article.php on line 29