title: Laravel - How to remove only element from array (Only Left/ Single)
body: <p>I am working on Laravel. I am getting such type of response.</p>
  
  <pre><code>{   "id" : "125",
      "name": "xyz",
      "balanced": "2334",
      "mutual-friend": [
          "Carl"
      ]
  }    
  </code></pre>
  
  <p>I had used foreach loop for adding mutual-friend object which is present in another table and in response it give above output.</p>
  
  <p>I want to remove that single element from array.
  What should I use? </p>
  
  <p>Help me.</p>