Completed
Push — master ( 3184a8...2e50b8 )
by Jared
05:41
created
src/Validate.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -142,7 +142,6 @@  discard block
 block discarded – undo
142 142
     /**
143 143
      * Validates an e-mail address.
144 144
      *
145
-     * @param string $email      e-mail address
146 145
      * @param array  $parameters parameters for validation
147 146
      *
148 147
      * @return bool success
@@ -174,7 +173,7 @@  discard block
 block discarded – undo
174 173
      *
175 174
      * @param mixed $value
176 175
      *
177
-     * @return bool
176
+     * @return integer
178 177
      */
179 178
     private static function date(&$value)
180 179
     {
Please login to merge, or discard this patch.
src/Model.php 2 patches
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -915,7 +915,7 @@  discard block
 block discarded – undo
915 915
     /**
916 916
      * Generates a new query instance.
917 917
      *
918
-     * @return Model\Query
918
+     * @return Query
919 919
      */
920 920
     public static function query()
921 921
     {
@@ -1046,7 +1046,7 @@  discard block
 block discarded – undo
1046 1046
      * @param string $foreignKey identifying key on foreign model
1047 1047
      * @param string $localKey   identifying key on local model
1048 1048
      *
1049
-     * @return Relation
1049
+     * @return HasOne
1050 1050
      */
1051 1051
     public function hasOne($model, $foreignKey = '', $localKey = '')
1052 1052
     {
@@ -1071,7 +1071,7 @@  discard block
 block discarded – undo
1071 1071
      * @param string $foreignKey identifying key on foreign model
1072 1072
      * @param string $localKey   identifying key on local model
1073 1073
      *
1074
-     * @return Relation
1074
+     * @return BelongsTo
1075 1075
      */
1076 1076
     public function belongsTo($model, $foreignKey = '', $localKey = '')
1077 1077
     {
@@ -1096,7 +1096,7 @@  discard block
 block discarded – undo
1096 1096
      * @param string $foreignKey identifying key on foreign model
1097 1097
      * @param string $localKey   identifying key on local model
1098 1098
      *
1099
-     * @return Relation
1099
+     * @return HasMany
1100 1100
      */
1101 1101
     public function hasMany($model, $foreignKey = '', $localKey = '')
1102 1102
     {
@@ -1121,7 +1121,7 @@  discard block
 block discarded – undo
1121 1121
      * @param string $foreignKey identifying key on foreign model
1122 1122
      * @param string $localKey   identifying key on local model
1123 1123
      *
1124
-     * @return Relation
1124
+     * @return BelongsToMany
1125 1125
      */
1126 1126
     public function belongsToMany($model, $foreignKey = '', $localKey = '')
1127 1127
     {
@@ -1241,7 +1241,7 @@  discard block
 block discarded – undo
1241 1241
      *
1242 1242
      * @param string $eventName
1243 1243
      *
1244
-     * @return Model\ModelEvent
1244
+     * @return \Symfony\Component\EventDispatcher\Event
1245 1245
      */
1246 1246
     protected function dispatch($eventName)
1247 1247
     {
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -12,10 +12,8 @@
 block discarded – undo
12 12
 
13 13
 use BadMethodCallException;
14 14
 use ICanBoogie\Inflector;
15
-use InvalidArgumentException;
16 15
 use Pulsar\Driver\DriverInterface;
17 16
 use Pulsar\Exception\DriverMissingException;
18
-use Pulsar\Exception\NotFoundException;
19 17
 use Pulsar\Relation\HasOne;
20 18
 use Pulsar\Relation\BelongsTo;
21 19
 use Pulsar\Relation\HasMany;
Please login to merge, or discard this patch.