@@ -89,6 +89,9 @@ |
||
89 | 89 | } |
90 | 90 | } |
91 | 91 | |
92 | + /** |
|
93 | + * @return Category |
|
94 | + */ |
|
92 | 95 | private function createOrGetCategory($name) |
93 | 96 | { |
94 | 97 | $existingCategory = Category::whereName($name)->first(); |