Completed
Pull Request — master (#3)
by James
02:59
created
src/Axolotl/Model.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -825,7 +825,7 @@
 block discarded – undo
825 825
 	 * @param string $type
826 826
 	 * @param string $local_key
827 827
 	 *
828
-	 * @return HasMany
828
+	 * @return BelongsToOne
829 829
 	 */
830 830
 	protected function belongs_to_one( $class, $type, $local_key = '' ) {
831 831
 		return new BelongsToOne( $this, $class, $type, $local_key );
Please login to merge, or discard this patch.
src/Axolotl/Relationship/BelongsToOne.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@
 block discarded – undo
90 90
 	/**
91 91
 	 * Gets the ID value for the target model to search by.
92 92
 	 *
93
-	 * @return int|false
93
+	 * @return integer
94 94
 	 *
95 95
 	 * @throws LogicException
96 96
 	 */
Please login to merge, or discard this patch.
src/Axolotl/Repository/AbstractRepository.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -159,7 +159,7 @@
 block discarded – undo
159 159
 	/**
160 160
 	 * Fills the provided Model with attributes from its custom table.
161 161
 	 *
162
-	 * @param Model|UsesCustomTable $model
162
+	 * @param Model $model
163 163
 	 */
164 164
 	protected function fill_table_attrs_from_table( Model $model ) {
165 165
 		$sql[] = "SELECT * FROM {$this->make_table_name( $model )}";
Please login to merge, or discard this patch.
src/Axolotl/Repository/AbstractWordPress.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -239,7 +239,7 @@
 block discarded – undo
239 239
 	 *
240 240
 	 * @param Model $model
241 241
 	 *
242
-	 * @return int|WP_Error
242
+	 * @return integer
243 243
 	 */
244 244
 	abstract protected function save_wp_object( Model $model );
245 245
 
Please login to merge, or discard this patch.