Completed
Push — master ( 8ea842...1a32c5 )
by Noritaka
16:40
created
src/Dictionary.php 2 patches
Doc Comments   +6 added lines, -3 removed lines patch added patch discarded remove patch
@@ -27,7 +27,6 @@  discard block
 block discarded – undo
27 27
     /**
28 28
      *
29 29
      *
30
-     * @param string $value
31 30
      *
32 31
      * @return boolean
33 32
      */
@@ -37,8 +36,8 @@  discard block
 block discarded – undo
37 36
     }
38 37
 
39 38
     /**
40
-     * @param string $value
41
-     * @return mixed
39
+     * @param string $key
40
+     * @return string
42 41
      */
43 42
     public function get($key)
44 43
     {
@@ -49,6 +48,10 @@  discard block
 block discarded – undo
49 48
         return $this->values[$key];
50 49
     }
51 50
 
51
+    /**
52
+     * @param string $key
53
+     * @param package\MatcherClass $value
54
+     */
52 55
     public function set($key, $value)
53 56
     {
54 57
         $this->values[$key] = $value;
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
     public function get($key)
44 44
     {
45 45
         if (!$this->containsKey($key)) {
46
-            throw new OutOfBoundsException('No element at position ' . $key);
46
+            throw new OutOfBoundsException('No element at position '.$key);
47 47
         }
48 48
 
49 49
         return $this->values[$key];
Please login to merge, or discard this patch.