Completed
Push — master ( 32a7a8...bd1396 )
by Viacheslav
11s
created
src/Structure/Composition.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 class Composition extends Schema
13 13
 {
14 14
     /**
15
-     * @param Schema... $schema
16 15
      */
17 16
     public function __construct()
18 17
     {
Please login to merge, or discard this patch.
src/Constraint/Properties.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -72,6 +72,9 @@
 block discarded – undo
72 72
     /** @var Schema[] */
73 73
     public $nestedPropertyNames = array();
74 74
 
75
+    /**
76
+     * @param string $name
77
+     */
75 78
     protected function addNested(Schema $nested, $name)
76 79
     {
77 80
         if (null === $nested->properties) {
Please login to merge, or discard this patch.
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.