Test Setup Failed
Push — master ( 64c0e8...2c28f9 )
by Ron
05:23
created
src/Traits/HasProducts.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
 	 */
32 32
 	public function hasProductBySku(string $sku): bool
33 33
 	{
34
-		return $this->products()->whereHas('skus', function ($q) use ($sku) {
34
+		return $this->products()->whereHas('skus', function($q) use ($sku) {
35 35
 			$q->where('code', $sku);
36 36
 		})->exists();
37 37
 	}
Please login to merge, or discard this patch.