Completed
Push — feature/refactor-license-api ( 1eee8f )
by Ravinder
19:44
created
includes/class-give-license-handler.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -683,7 +683,7 @@  discard block
 block discarded – undo
683 683
 		 * @access private
684 684
 		 * @since  1.7
685 685
 		 *
686
-		 * @return bool
686
+		 * @return false|null
687 687
 		 */
688 688
 		private function __remove_license_key_from_subscriptions() {
689 689
 			$subscriptions = get_option( 'give_subscriptions', array() );
@@ -782,7 +782,7 @@  discard block
 block discarded – undo
782 782
 		 * @param $plugin_data
783 783
 		 * @param $status
784 784
 		 *
785
-		 * @return bool
785
+		 * @return false|null
786 786
 		 */
787 787
 		public function plugin_page_notices( $plugin_file, $plugin_data, $status ) {
788 788
 			// Bailout.
@@ -804,7 +804,7 @@  discard block
 block discarded – undo
804 804
 		 *
805 805
 		 * @since  1.8.7
806 806
 		 * @access public
807
-		 * @return array
807
+		 * @return string
808 808
 		 */
809 809
 		public function license_state_message() {
810 810
 			$message_data = array();
Please login to merge, or discard this patch.
includes/login-register.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -174,7 +174,7 @@  discard block
 block discarded – undo
174 174
  * @param string $user_login Username
175 175
  * @param string $user_pass  Password
176 176
  *
177
- * @return bool
177
+ * @return false|null
178 178
  */
179 179
 function give_log_user_in( $user_id, $user_login, $user_pass ) {
180 180
 
@@ -215,7 +215,7 @@  discard block
 block discarded – undo
215 215
  *
216 216
  * @param array $data Data sent from the register form
217 217
  *
218
- * @return bool
218
+ * @return false|null
219 219
  */
220 220
 function give_process_register_form( $data ) {
221 221
 
Please login to merge, or discard this patch.