title: How to pass a null value in the clancats hydrahon update()?
body: <p>I need to pass a null value for a database column, according to the code below:</p>
  <pre><code>$birthdate = null;
  
  User::update()
  -&gt;set('name', $name)
  -&gt;set('email', $email)
  -&gt;set('birthdate', $birthdate)                
  -&gt;where('id', $id)
  -&gt;execute();
  </code></pre>
  <p>But the error is generated:</p>
  <p><a href="https://i.stack.imgur.com/zfGfp.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zfGfp.png" alt="enter image description here" /></a></p>
  <p>How to do this ?</p>
  <p><strong>Note: The update is a method of clancats hydrahon.</strong></p>
  <p>I believe that the problem occurs in that part of the library code.</p>
  <pre><code>public function set($param1, $param2 = null)
  {
  // do nothing if we get nothing
  if (empty($param1))
  {
     return $this;
  }
          
  // when param 2 is not null we assume that only one set is passed
  // like: set( 'name', 'Lu' ); instead of set( array( 'name' =&gt; 'Lu' ) );
  if ( !is_null( $param2 ) )
  {
     $param1 = array( $param1 =&gt; $param2 );
  }
          
  // merge the new values with the existing ones.
  $this-&gt;values = array_merge( $this-&gt;values, $param1 ); 
          
  // return self so we can continue running the next function
  return $this;
  }
  </code></pre>