Completed
Push — master ( f6ecff...656ae7 )
by Oscar
02:19
created
src/Entity.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
      *
89 89
      * @throws SimpleCrudException
90 90
      *
91
-     * @return QueryInterface|null
91
+     * @return FieldInterface
92 92
      */
93 93
     public function __call($name, $arguments)
94 94
     {
@@ -173,7 +173,7 @@  discard block
 block discarded – undo
173 173
      *
174 174
      * @param string $name
175 175
      *
176
-     * @return null|mixed
176
+     * @return string
177 177
      */
178 178
     public function getAttribute($name)
179 179
     {
Please login to merge, or discard this patch.
src/autoloader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-spl_autoload_register(function ($class) {
3
+spl_autoload_register(function($class) {
4 4
     if (strpos($class, 'SimpleCrud\\') !== 0) {
5 5
         return;
6 6
     }
Please login to merge, or discard this patch.
src/Queries/Mysql/SelectOne.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
     /**
37 37
      * Run the query and return the first value.
38 38
      *
39
-     * @return Row|null
39
+     * @return \SimpleCrud\Row|null
40 40
      */
41 41
     public function get()
42 42
     {
Please login to merge, or discard this patch.
Unused Use Statements   -6 removed lines patch added patch discarded remove patch
@@ -2,14 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace SimpleCrud\Queries\Mysql;
4 4
 
5
-use SimpleCrud\Queries\BaseQuery;
6
-use SimpleCrud\Queries\WhereExtendedTrait;
7
-use SimpleCrud\Queries\LimitTrait;
8
-use SimpleCrud\RowCollection;
9 5
 use SimpleCrud\Entity;
10 6
 use SimpleCrud\SimpleCrudException;
11
-use PDOStatement;
12
-use PDO;
13 7
 
14 8
 /**
15 9
  * Manages a database select query with just one result.
Please login to merge, or discard this patch.