Passed
Push — issue-93 ( 038189 )
by Sebastian
05:54
created
src/functions.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,5 +19,5 @@
 block discarded – undo
19 19
 {
20 20
     $firstChar = substr($string, 0, 1);
21 21
     $firstCharUpper = strtr($firstChar, 'abcdefghijklmnopqrstuvwxyz', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ');
22
-    return $firstCharUpper . substr($string, 1);
22
+    return $firstCharUpper.substr($string, 1);
23 23
 }
Please login to merge, or discard this patch.
src/Constraint/Factory.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -32,10 +32,10 @@
 block discarded – undo
32 32
     public static function createConstraint(string $name, string $value, string $match)
33 33
     {
34 34
         $parts = explode("-", $name);
35
-        $className = implode("", array_map(function ($part) {
36
-            return ucfirst($part);//overridden function
35
+        $className = implode("", array_map(function($part) {
36
+            return ucfirst($part); //overridden function
37 37
         }, $parts));
38
-        $className = self::NAMESPACE_CONSTRAINTS . $className;
38
+        $className = self::NAMESPACE_CONSTRAINTS.$className;
39 39
 
40 40
         if (!class_exists($className)) {
41 41
             throw new ClassNotFoundException($className);
Please login to merge, or discard this patch.