title: Laravel model Trailing Data when save the model
body: <p>I have some code like this</p>
  
  <pre><code>    $editStuState = StuAtt::where('studentId' , '=' , $id)-&gt;first();
      $editStuState -&gt; leave +=1;
      $editStuState -&gt; present = $editStuState -&gt; present-1;
      $editStuState-&gt;update();
                              //OR
      $editStuState-&gt;save();
      return 'this is good';
  </code></pre>
  
  <p>I can't save or Update my data,
  when I remove Update and Save related line it can print text.</p>
  
  <p>this is the <code>dd($editStuState)</code> data</p>
  
  <pre><code>StuAtt {#382 ▼
    #table: "stu_attendance"
    #connection: "mysql"
    #primaryKey: "id"
    #keyType: "int"
    +incrementing: true
    #with: []
    #withCount: []
    #perPage: 15
    +exists: true
    +wasRecentlyCreated: false
    #attributes: array:7 [▼
      "id" =&gt; "7"
      "studentId" =&gt; "1"
      "present" =&gt; "2"
      "absent" =&gt; "1"
      "leave" =&gt; "10"
      "created_at" =&gt; "2018-04-16 11:17:41.176898"
      "updated_at" =&gt; "2018-04-16 06:47:41.000000"
    ]
    #original: array:7 [▼
      "id" =&gt; "7"
      "studentId" =&gt; "1"
      "present" =&gt; "2"
      "absent" =&gt; "1"
      "leave" =&gt; "10"
      "created_at" =&gt; "2018-04-16 11:17:41.176898"
      "updated_at" =&gt; "2018-04-16 06:47:41.000000"
    ]
    #changes: []
    #casts: []
    #dates: []
    #dateFormat: null
    #appends: []
    #dispatchesEvents: []
    #observables: []
    #relations: []
    #touches: []
    +timestamps: true
    #hidden: []
    #visible: []
    #fillable: []
    #guarded: array:1 [▶]
  }
  </code></pre>
  
  <p>I also got this error form laravel 5.6 it</p>
  
  <pre><code>InvalidArgumentException
  Trailing data
  </code></pre>