Passed
Branch master (a792a9)
by Gunvor
04:01
created
src/Comments/ShowAllService.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
     /**
22 22
      * Constructor injects with DI container and the id to update.
23 23
      *
24
-     * @param Anax\DI\DIInterface $di a service container
24
+     * @param DIInterface $di a service container
25 25
      */
26 26
     public function __construct(DIInterface $di)
27 27
     {
@@ -53,8 +53,8 @@  discard block
 block discarded – undo
53 53
     /**
54 54
      * Sets the callable to use for creating routes.
55 55
      *
56
-     * @param callable $urlCreate to create framework urls.
57 56
      *
57
+     * @param string $route
58 58
      * @return void
59 59
      */
60 60
     public function setUrlCreator($route)
Please login to merge, or discard this patch.
src/Comments/ShowOneService.php 1 patch
Doc Comments   +11 added lines, -4 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
     /**
22 22
      * Constructor injects with DI container and the id to update.
23 23
      *
24
-     * @param Anax\DI\DIInterface $di a service container
24
+     * @param DIInterface $di a service container
25 25
      * @param integer             $id to show
26 26
      */
27 27
     public function __construct(DIInterface $di, $id)
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
      *
44 44
      * @param integer $id get details on item with id.
45 45
      *
46
-     * @return Book
46
+     * @return Comm
47 47
      */
48 48
     public function getItemDetails($id)
49 49
     {
@@ -57,8 +57,9 @@  discard block
 block discarded – undo
57 57
         /**
58 58
      * Get details on item to load form with.
59 59
      *
60
-     * @param integer $id get details on item with id.
61 60
      *
61
+     * @param string $where
62
+     * @param integer[] $params
62 63
      * @return Book
63 64
      */
64 65
     public function getParentDetails($where, $params)
@@ -72,8 +73,8 @@  discard block
 block discarded – undo
72 73
     /**
73 74
      * Sets the callable to use for creating routes.
74 75
      *
75
-     * @param callable $urlCreate to create framework urls.
76 76
      *
77
+     * @param string $route
77 78
      * @return void
78 79
      */
79 80
     public function setUrlCreator($route)
@@ -91,6 +92,9 @@  discard block
 block discarded – undo
91 92
     }
92 93
 
93 94
 
95
+    /**
96
+     * @param boolean $lead
97
+     */
94 98
     public function getDecode($item, $lead = null)
95 99
     {
96 100
         $comt = json_decode($item);
@@ -107,6 +111,9 @@  discard block
 block discarded – undo
107 111
     }
108 112
 
109 113
 
114
+    /**
115
+     * @param boolean $isadmin
116
+     */
110 117
     public function getCanEdit($item, $isadmin, $update, $del)
111 118
     {
112 119
         $canedit = "";
Please login to merge, or discard this patch.