Passed
Push — master ( f8cb44...13b119 )
by Luis
04:20 queued 01:13
created
src/interfaces/processor.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -2,12 +2,12 @@  discard block
 block discarded – undo
2 2
 
3 3
 abstract class plProcessor
4 4
 {
5
-    public static function factory( $processor )
5
+    public static function factory($processor)
6 6
     {
7
-        $classname = 'pl' . ucfirst( $processor ) . 'Processor';
8
-        if ( class_exists( $classname ) === false )
7
+        $classname = 'pl' . ucfirst($processor) . 'Processor';
8
+        if (class_exists($classname) === false)
9 9
         {
10
-            throw new plProcessorNotFoundException( $processor );
10
+            throw new plProcessorNotFoundException($processor);
11 11
         }
12 12
         return new $classname();
13 13
     }
@@ -23,13 +23,13 @@  discard block
 block discarded – undo
23 23
         return $processors;
24 24
     }
25 25
 
26
-    public function writeToDisk( $input, $output )
26
+    public function writeToDisk($input, $output)
27 27
     {
28
-        file_put_contents( $output, $input );
28
+        file_put_contents($output, $input);
29 29
     }
30 30
 
31 31
     abstract public function getInputTypes();
32 32
     abstract public function getOutputType();
33
-    abstract public function process( $input, $type );
33
+    abstract public function process($input, $type);
34 34
 
35 35
 }
Please login to merge, or discard this patch.