Failed Conditions
Pull Request — master (#1)
by Tibor
02:45
created
src/Tkotosz/CatalogRouter/Observer/PathValidatorObserver.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -100,6 +100,9 @@  discard block
 block discarded – undo
100 100
         return $resolvedEntities;
101 101
     }
102 102
 
103
+    /**
104
+     * @return \Magento\Framework\Phrase
105
+     */
103 106
     protected function getErrorMessage(UrlPath $urlPath, Store $store, array $entities)
104 107
     {
105 108
         $messages = [];
@@ -127,6 +130,9 @@  discard block
 block discarded – undo
127 130
         return $this->urlProvider->getUrl($editUrlPath, [$idParam => $entity->getId()]);
128 131
     }
129 132
 
133
+    /**
134
+     * @return string
135
+     */
130 136
     abstract protected function getCurrentEntityType();
131 137
 
132 138
     abstract protected function getEntity(Observer $observer);
Please login to merge, or discard this patch.