Completed
Branch master (45b4dd)
by Valentin
06:01
created
source/Snapshotter/Controllers/SnapshotsController.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
     /**
38 38
      * @param AggregationSource $source
39 39
      * @param Statistics        $statistics
40
-     * @return mixed
40
+     * @return string
41 41
      */
42 42
     public function indexAction(AggregationSource $source, Statistics $statistics)
43 43
     {
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
      * @param string             $id
56 56
      * @param AggregationService $aggregationService
57 57
      * @param SnapshotSource     $snapshotSource
58
-     * @return mixed
58
+     * @return string
59 59
      */
60 60
     public function editAction(
61 61
         $id,
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
     /**
116 116
      * @param string         $id
117 117
      * @param SnapshotSource $source
118
-     * @return mixed
118
+     * @return string
119 119
      */
120 120
     public function snapshotAction($id, SnapshotSource $source)
121 121
     {
Please login to merge, or discard this patch.
source/Snapshotter/Database/Sources/AggregationSource.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
 
19 19
     /**
20 20
      * @param $exception_hash
21
-     * @return null|Aggregation
21
+     * @return null|\Spiral\ORM\RecordInterface
22 22
      */
23 23
     public function findByHash($exception_hash)
24 24
     {
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
 
36 36
     /**
37 37
      * @param Snapshot $snapshot
38
-     * @return null|\Spiral\ORM\RecordEntity
38
+     * @return null|\Spiral\ORM\RecordInterface
39 39
      */
40 40
     public function findBySnapshot(Snapshot $snapshot)
41 41
     {
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
     }
44 44
 
45 45
     /**
46
-     * @return null|Aggregation
46
+     * @return null|\Spiral\ORM\RecordInterface
47 47
      */
48 48
     public function findLast()
49 49
     {
Please login to merge, or discard this patch.
source/Snapshotter/Debug/AggregatedSnapshot.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
73 73
     }
74 74
 
75 75
     /**
76
-     * @param $string
76
+     * @param string $string
77 77
      * @return string
78 78
      */
79 79
     private function hash($string)
Please login to merge, or discard this patch.
source/Snapshotter/Models/AggregationService.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -33,9 +33,9 @@
 block discarded – undo
33 33
     }
34 34
 
35 35
     /**
36
-     * @param $hash
37
-     * @param $teaser
38
-     * @return null|Aggregation
36
+     * @param string $hash
37
+     * @param string $teaser
38
+     * @return \Spiral\ORM\RecordEntity
39 39
      */
40 40
     public function findOrCreateByHash($hash, $teaser)
41 41
     {
Please login to merge, or discard this patch.