Completed
Push — master ( 575823...f7fea2 )
by Stefano
02:38
created
Core/JarvisBehaviourLanguage.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -17,6 +17,9 @@
 block discarded – undo
17 17
 		}
18 18
 	}
19 19
 
20
+	/**
21
+	 * @param string $sentence
22
+	 */
20 23
 	public function answer($sentence) {
21 24
 		foreach(JarvisBehaviourLanguage::$jbl_set->rules as $rule) {
22 25
 			foreach($rule->matches as $match) {
Please login to merge, or discard this patch.
Plugins/Gcalendar_plugin/Gcalendar_plugin.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
     /**
84 84
      * Is it the right plugin for the command?
85 85
      * @param string $command
86
-     * @return boolean
86
+     * @return integer
87 87
      */
88 88
     function isLikely($command) {
89 89
         return preg_match(JarvisLanguage::translate('preg_match_activate_plugin',get_called_class()), $command);
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
 
100 100
     /**
101 101
      * Returns an authorized API client.
102
-     * @return Google_Client the authorized client object
102
+     * @return null|\Google_Client the authorized client object
103 103
      */
104 104
     function getClient() {
105 105
       $client = new \Google_Client();
Please login to merge, or discard this patch.
Plugins/Wemo_plugin/Wemo_plugin.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@
 block discarded – undo
86 86
     /**
87 87
      * Is it the right plugin for the command?
88 88
      * @param string $command
89
-     * @return boolean
89
+     * @return integer
90 90
      */
91 91
     function isLikely($command) {
92 92
         return preg_match(JarvisLanguage::translate('preg_match_activate_plugin',get_called_class()), $command);
Please login to merge, or discard this patch.
TelegramBot/GenericCurl.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -8,6 +8,9 @@
 block discarded – undo
8 8
  */
9 9
 class GenericCurl {
10 10
 
11
+	/**
12
+	 * @param string $url
13
+	 */
11 14
 	static function exec($url, $fields) {
12 15
 
13 16
 
Please login to merge, or discard this patch.
TelegramBot/TelegramBot.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -9,6 +9,9 @@  discard block
 block discarded – undo
9 9
  */
10 10
 class TelegramBotApiWrapper {
11 11
 
12
+	/**
13
+	 * @param resource $handle
14
+	 */
12 15
 	function exec_curl_request($handle) {
13 16
 	  $response = curl_exec($handle);
14 17
 
@@ -45,6 +48,9 @@  discard block
 block discarded – undo
45 48
 	  return $response;
46 49
 	}
47 50
 
51
+	/**
52
+	 * @param string $method
53
+	 */
48 54
 	function apiRequestJson($method, $parameters) {
49 55
 	  if (!is_string($method)) {
50 56
 	    echo("Method name must be a string\n");
Please login to merge, or discard this patch.
Plugins/ActualOutsideTemperature_plugin/ActualOutsideTemperature_plugin.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@
 block discarded – undo
86 86
     /**
87 87
      * Is it the right plugin for the command?
88 88
      * @param string $command
89
-     * @return boolean
89
+     * @return integer
90 90
      */
91 91
     function isLikely($command) {
92 92
         return preg_match(JarvisLanguage::translate('preg_match_activate_plugin',get_called_class()), $command);
Please login to merge, or discard this patch.
Plugins/CheckMail_plugin/CheckMail_plugin.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@
 block discarded – undo
86 86
     /**
87 87
      * Is it the right plugin for the command?
88 88
      * @param string $command
89
-     * @return boolean
89
+     * @return integer
90 90
      */
91 91
     function isLikely($command) {
92 92
         return preg_match(JarvisLanguage::translate('preg_match_activate_plugin',get_called_class()), $command);
Please login to merge, or discard this patch.
Plugins/Echo_plugin/Echo_plugin.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@
 block discarded – undo
86 86
     /**
87 87
      * Is it the right plugin for the command?
88 88
      * @param string $command
89
-     * @return boolean
89
+     * @return integer
90 90
      */
91 91
     function isLikely($command) {
92 92
         return preg_match(JarvisLanguage::translate('preg_match_activate_plugin',get_called_class()), $command);
Please login to merge, or discard this patch.
Plugins/Hello_plugin/Hello_plugin.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@
 block discarded – undo
86 86
     /**
87 87
      * Is it the right plugin for the command?
88 88
      * @param string $command
89
-     * @return boolean
89
+     * @return integer
90 90
      */
91 91
     function isLikely($command) {
92 92
         return preg_match(JarvisLanguage::translate('preg_match_activate_plugin',get_called_class()), $command);
Please login to merge, or discard this patch.