Completed
Pull Request — master (#3)
by James
02:59
created
src/Http/Guard.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 namespace Intraxia\Jaxion\Model;
3 3
 
4
-use Intraxia\Jaxion\Utility\Str;
5 4
 use stdClass;
6 5
 use WP_Post;
7 6
 
Please login to merge, or discard this patch.
src/Axolotl/EntityManager.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 
4 4
 use Intraxia\Jaxion\Axolotl\Relationship\Root as Relationship;
5 5
 use Intraxia\Jaxion\Axolotl\Repository\AbstractRepository;
6
-use Intraxia\Jaxion\Axolotl\Repository\CustomTable as CustomTableRepository;
7 6
 use Intraxia\Jaxion\Axolotl\Repository\WordPressPost as WordPressPostRepository;
8 7
 use Intraxia\Jaxion\Axolotl\Repository\WordPressTerm as WordPressTermRepository;
9 8
 use Intraxia\Jaxion\Contract\Axolotl\EntityManager as EntityManagerContract;
Please login to merge, or discard this patch.
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 2 patches
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.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 
4 4
 use Intraxia\Jaxion\Axolotl\EntityManager;
5 5
 use Intraxia\Jaxion\Axolotl\Model;
6
-use Intraxia\Jaxion\Contract\Axolotl\UsesWordPressPost;
7 6
 use LogicException;
8 7
 
9 8
 /**
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.