Completed
Pull Request — master (#13)
by Viacheslav
08:26
created
src/Schema.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -80,6 +80,9 @@  discard block
 block discarded – undo
80 80
     private $__propertyToData = array();
81 81
 
82 82
 
83
+    /**
84
+     * @param string $dataName
85
+     */
83 86
     public function addPropertyMapping($dataName, $propertyName, $mapping = self::DEFAULT_MAPPING)
84 87
     {
85 88
         $this->__dataToProperty[$mapping][$dataName] = $propertyName;
@@ -653,6 +656,9 @@  discard block
 block discarded – undo
653 656
         return $this;
654 657
     }
655 658
 
659
+    /**
660
+     * @param string $path
661
+     */
656 662
     private function fail(InvalidValue $exception, $path)
657 663
     {
658 664
         if ($path !== '#') {
Please login to merge, or discard this patch.
src/Structure/ClassStructureTrait.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
     }
105 105
 
106 106
     /**
107
-     * @return static
107
+     * @return NameMirror|null
108 108
      */
109 109
     public static function names()
110 110
     {
@@ -115,6 +115,9 @@  discard block
 block discarded – undo
115 115
         return $nameflector;
116 116
     }
117 117
 
118
+    /**
119
+     * @param Schema $column
120
+     */
118 121
     public function __set($name, $column) // todo nested schemas
119 122
     {
120 123
         if ($this->__validateOnSet) {
Please login to merge, or discard this patch.