Completed
Push — master ( d6ac03...ba29f0 )
by Jacob
04:02
created
src/Search/Elastic/Client.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,9 +3,7 @@
 block discarded – undo
3 3
 namespace As3\Modlr\Search\Elastic;
4 4
 
5 5
 use As3\Modlr\Metadata\EntityMetadata;
6
-use As3\Modlr\Metadata\Interfaces\SearchMetadataFactoryInterface;
7 6
 use As3\Modlr\Persister\PersisterInterface;
8
-use As3\Modlr\Persister\Record;
9 7
 use As3\Modlr\Search\ClientInterface;
10 8
 
11 9
 /**
Please login to merge, or discard this patch.
src/Search/Elastic/StorageMetadataFactory.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace As3\Modlr\Search\Elastic;
4 4
 
5
-use As3\Modlr\Util\EntityUtility;
6
-use As3\Modlr\Exception\MetadataException;
7 5
 use As3\Modlr\Metadata\EntityMetadata;
8 6
 use As3\Modlr\Metadata\Interfaces\StorageMetadataFactoryInterface;
9 7
 
Please login to merge, or discard this patch.
src/Store/Store.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
      * @todo    Add sorting and pagination (limit/skip).
97 97
      * @todo    Handle find all with identifiers.
98 98
      * @param   string  $typeKey        The model type.
99
-     * @param   array   $idenitifiers   The model identifiers (optional).
99
+     * @param   array   $identifiers   The model identifiers (optional).
100 100
      * @return  Collection
101 101
      */
102 102
     public function findAll($typeKey, array $identifiers = [])
@@ -526,7 +526,7 @@  discard block
 block discarded – undo
526 526
     /**
527 527
      * Converts the id value to a normalized string.
528 528
      *
529
-     * @param   mixed   $identenfier    The identifier to convert.
529
+     * @param   mixed   $identifier    The identifier to convert.
530 530
      * @return  string
531 531
      */
532 532
     protected function convertId($identifier)
Please login to merge, or discard this patch.
src/Metadata/Driver/YamlFileDriver.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -236,8 +236,8 @@
 block discarded – undo
236 236
             if (isset($mapping['calculated']) && is_array($mapping['calculated'])) {
237 237
                 $calculated = $mapping['calculated'];
238 238
                 if (isset($calculated['class']) && isset($calculated['method'])) {
239
-                    $attribute->calculated['class']  =  $calculated['class'];
240
-                    $attribute->calculated['method'] =  $calculated['method'];
239
+                    $attribute->calculated['class']  = $calculated['class'];
240
+                    $attribute->calculated['method'] = $calculated['method'];
241 241
                 }
242 242
             }
243 243
 
Please login to merge, or discard this patch.
src/Metadata/Cache/RedisCache.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
      *
25 25
      * @var string
26 26
      */
27
-     private $prefix = 'ModlrData';
27
+        private $prefix = 'ModlrData';
28 28
 
29 29
     /**
30 30
      * Constructor.
Please login to merge, or discard this patch.