Completed
Push — master ( 9d10c2...bf46e5 )
by Lars
05:14
created
src/Intraface/modules/cms/ElementGateway.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -11,6 +11,9 @@  discard block
 block discarded – undo
11 11
         $this->kernel = $kernel;
12 12
     }
13 13
 
14
+    /**
15
+     * @param string $type
16
+     */
14 17
     function findBySectionAndType($section, $type)
15 18
     {
16 19
         $class = $this->class_prefix . ucfirst($type);
@@ -37,6 +40,9 @@  discard block
 block discarded – undo
37 40
         return new $class(CMS_Section::factory($this->kernel, 'id', $this->db->f('section_id')), $this->db->f('id'));
38 41
     }
39 42
 
43
+    /**
44
+     * @param string $id
45
+     */
40 46
     function findByKernelAndId($kernel, $id)
41 47
     {
42 48
         $cms_module = $kernel->getModule('cms');
@@ -53,6 +59,9 @@  discard block
 block discarded – undo
53 59
         return new $class(CMS_Section::factory($kernel, 'id', $this->db->f('section_id')), $this->db->f('id'));
54 60
     }
55 61
 
62
+    /**
63
+     * @param string $id
64
+     */
56 65
     function findBySectionAndId($section, $id)
57 66
     {
58 67
         // FIXME - jeg tror den her kan skabe en del
Please login to merge, or discard this patch.
src/Intraface/modules/cms/HTML_Parser.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -21,6 +21,9 @@
 block discarded – undo
21 21
         $this->translation = $translation;
22 22
     }
23 23
 
24
+    /**
25
+     * @param string $phrase
26
+     */
24 27
     function t($phrase)
25 28
     {
26 29
         return utf8_encode($this->translation->get($phrase));
Please login to merge, or discard this patch.
src/Intraface/modules/cms/Navigation.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -10,6 +10,9 @@
 block discarded – undo
10 10
     private $cmspage;
11 11
     public $value;
12 12
 
13
+    /**
14
+     * @param CMS_Page $cmspage
15
+     */
13 16
     function __construct($cmspage)
14 17
     {
15 18
         $this->cmspage = $cmspage;
Please login to merge, or discard this patch.
src/Intraface/modules/cms/PageGateway.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
     /**
26 26
      * Returns the possible page types
27 27
      *
28
-     * @return array possible page types
28
+     * @return string[] possible page types
29 29
      */
30 30
     public function getTypes()
31 31
     {
@@ -59,6 +59,9 @@  discard block
 block discarded – undo
59 59
         return $object;
60 60
     }
61 61
 
62
+    /**
63
+     * @param string $identifier
64
+     */
62 65
     function findBySiteIdAndIdentifier($site_id, $identifier)
63 66
     {
64 67
         $identifier = strip_tags($identifier);
@@ -282,7 +285,7 @@  discard block
 block discarded – undo
282 285
     /**
283 286
      * Returns the possible page types but with a binary index
284 287
      *
285
-     * @return array possible page types with binary index
288
+     * @return string[] possible page types with binary index
286 289
      */
287 290
     static public function getTypesWithBinaryIndex()
288 291
     {
Please login to merge, or discard this patch.
src/Intraface/modules/cms/Stylesheet.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -7,6 +7,9 @@
 block discarded – undo
7 7
     private $cmssite;
8 8
     public $error;
9 9
 
10
+    /**
11
+     * @param CMS_Site $cmssite
12
+     */
10 13
     function __construct($cmssite)
11 14
     {
12 15
         if (!is_object($cmssite) OR strtolower(get_class($cmssite)) != 'cms_site') {
Please login to merge, or discard this patch.
src/Intraface/modules/cms/TemplateSection.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -62,11 +62,17 @@
 block discarded – undo
62 62
         return new CMS_Parameter($this);
63 63
     }
64 64
 
65
+    /**
66
+     * @param string $key
67
+     */
65 68
     function addParameter($key, $value)
66 69
     {
67 70
         return $this->parameter->save($key, $value);
68 71
     }
69 72
 
73
+    /**
74
+     * @param string $type
75
+     */
70 76
     function factory($object, $type, $value)
71 77
     {
72 78
         $class_prefix = 'Intraface_modules_cms_templatesection_';
Please login to merge, or discard this patch.
src/Intraface/modules/cms/templatesection/Mixed.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -6,6 +6,9 @@
 block discarded – undo
6 6
  */
7 7
 class Intraface_modules_cms_templatesection_Mixed extends CMS_TemplateSection
8 8
 {
9
+    /**
10
+     * @param CMS_Template $cmspage
11
+     */
9 12
     function __construct($cmspage, $id = 0)
10 13
     {
11 14
         $this->value['type'] = 'mixed';
Please login to merge, or discard this patch.
src/Intraface/modules/debtor/Controller/Create.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -87,6 +87,9 @@
 block discarded – undo
87 87
         return 'Create';
88 88
     }
89 89
 
90
+    /**
91
+     * @return string
92
+     */
90 93
     function getType()
91 94
     {
92 95
         return $this->context->context->getType();
Please login to merge, or discard this patch.
src/Intraface/modules/debtor/Controller/Depreciations.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -23,6 +23,9 @@
 block discarded – undo
23 23
         return $this->context->getKernel();
24 24
     }
25 25
 
26
+    /**
27
+     * @return Invoice
28
+     */
26 29
     function getModel()
27 30
     {
28 31
         return $this->context->getModel();
Please login to merge, or discard this patch.