Completed
Pull Request — master (#19)
by Viacheslav
08:45 queued 06:18
created
src/Schema.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -85,6 +85,9 @@
 block discarded – undo
85 85
 
86 86
     private $__booleanSchema;
87 87
 
88
+    /**
89
+     * @param string $dataName
90
+     */
88 91
     public function addPropertyMapping($dataName, $propertyName, $mapping = self::DEFAULT_MAPPING)
89 92
     {
90 93
         $this->__dataToProperty[$mapping][$dataName] = $propertyName;
Please login to merge, or discard this patch.
src/Structure/ClassStructureTrait.php 1 patch
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
     }
108 108
 
109 109
     /**
110
-     * @return static|NameMirror
110
+     * @return NameMirror|null
111 111
      */
112 112
     public static function names()
113 113
     {
@@ -118,6 +118,10 @@  discard block
 block discarded – undo
118 118
         return $nameflector;
119 119
     }
120 120
 
121
+    /**
122
+     * @param string $name
123
+     * @param \Swaggest\JsonSchema\Schema $column
124
+     */
121 125
     public function __set($name, $column) // todo nested schemas
122 126
     {
123 127
         if ($this->__validateOnSet) {
Please login to merge, or discard this patch.