Completed
Push — master ( 79c16c...fd607f )
by Steve
01:44
created
src/Dice/Factories/SpecialDiceFactory.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -2,11 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace MeadSteve\DiceApi\Dice\Factories;
4 4
 
5
-use MeadSteve\DiceApi\BasicDice;
6 5
 use MeadSteve\DiceApi\Dice;
7 6
 use MeadSteve\DiceApi\Dice\SteveDice;
8
-use MeadSteve\DiceApi\Dice\UncreatableDiceException;
9
-use MeadSteve\DiceApi\Dice\ZeropointDice;
10 7
 
11 8
 class SpecialDiceFactory implements DiceFactory
12 9
 {
Please login to merge, or discard this patch.
src/UrlDiceGenerator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
         $data = [];
71 71
         $valid = preg_match("/(?P<count>[0-9]+)?d(?P<type>[^\/]+)/i", $part, $data);
72 72
         if (!$valid) {
73
-            throw new UncreatableDiceException("Problem creating dice from incorrectly formated data: " . $part);
73
+            throw new UncreatableDiceException("Problem creating dice from incorrectly formated data: ".$part);
74 74
         }
75 75
         if (!$data["count"]) {
76 76
             $data["count"] = 1;
Please login to merge, or discard this patch.